Hi,

Congratulations to the many usability improvements in info version 4.12!

A regression, however, in the incremental search. Suppose I want to
search for argz_add_sep in the glibc manual. I do

  $ info -f /usr/info/libc.info
  Ctrl-S argz_a

displays this (where $$ denotes the cursor):

--------------------------------------------------------------------------
 - Function: error_t argz_a$$dd (char **ARGZ, size_t *ARGZ_LEN, const
          char *STR)
     The `argz_add' function adds the string STR to the end of the argz
     vector `*ARGZ', and updates `*ARGZ' and `*ARGZ_LEN' accordingly.

 - Function: error_t argz_add_sep (char **ARGZ, size_t *ARGZ_LEN, const
          char *STR, int DELIM)
--------------------------------------------------------------------------

Then I type a 'd':

--------------------------------------------------------------------------
 - Function: error_t argz_add (char **ARGZ, size_t *ARGZ_LEN, const
          char *STR)
     The `argz_ad$$d' function adds the string STR to the end of the argz
     vector `*ARGZ', and updates `*ARGZ' and `*ARGZ_LEN' accordingly.

 - Function: error_t argz_add_sep (char **ARGZ, size_t *ARGZ_LEN, const
          char *STR, int DELIM)
--------------------------------------------------------------------------

Then I type one more 'd':

--------------------------------------------------------------------------
 - Function: error_t argz_add (char **ARGZ, size_t *ARGZ_LEN, const
          char *STR)
     The `argz_add' function adds the string STR to the end of the argz
     vector `*ARGZ', and updates `*ARGZ' and `*ARGZ_LEN' accordingly.

 - Function: error_t argz_add$$_sep (char **ARGZ, size_t *ARGZ_LEN, const
          char *STR, int DELIM)
--------------------------------------------------------------------------

Then I type an underscore, the cursor moves by two lines again, etc.

In summary, typing one more character of the pattern lets the cursor jump
to the next occurrence, even if a match is already found at the cursor position.

Seen on Linux/x86, glibc-2.3.6, regardless of the locale chosen.
Seen also in texinfo-4.12.90.

Possibly unrelated warnings from compiling with "gcc -Wall":

search.c: Dans la fonction « regexp_search »:
search.c:104: Warnung: suggest parentheses around comparison in operand of &
search.c:101: Warnung: unused variable `result'

Bruno



Reply via email to