bug-texinfo
[Top][All Lists]
Advanced

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

info: search fails to find string occurrence


From: Bruno Haible
Subject: info: search fails to find string occurrence
Date: Wed, 26 Dec 2007 17:10:13 +0100
User-agent: KMail/1.5.4

Hi,

This looks like a bug to me: I have a texinfo manual that has several
occurrences of the string 'alloca'. Yet, when I search for this string
using Ctrl-S (incremental search), it does not find any occurrence.

$ makeinfo --version
makeinfo (GNU texinfo) 4.11
...
$ info --version
info (GNU texinfo) 4.11
...

To reproduce: Go into the doc/ directory of a gnulib checkout and do:

$ rm gnulib.info*
$ LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo --no-split 
--reference-limit=2000 gnulib.texi
$ info -f ./gnulib
Move the cursor down to the line "Particular Modules" and press Return.
In this page you see already two occurrences of 'alloca'. There are some more
in the index.
Press Q.
$ info -f ./gnulib
Press Ctrl-S. Status line says: I-search:
Press a. A match is found.
Press l. Another match is found.
Press l once more. Status line says: Failing I-search: all

Another try:

$ info -f ./gnulib
Press s. Enter alloca. Press Return.
Status line says: Cannot find node `(gnulib)Library vs. Reusable Code'.

If the info file is OK, why is the string not found?
If the info file is not OK, why did makeinfo not warn about it? I did not
pass the options --force, --no-validate, --no-warn to makeinfo.

Bruno





reply via email to

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