bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo 4.12: incremental search broken


From: Bruno Haible
Subject: texinfo 4.12: incremental search broken
Date: Thu, 29 May 2008 00:05:57 +0200
User-agent: KMail/1.5.4

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

[Prev in Thread] Current Thread [Next in Thread]