[Top][All Lists]

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

[bug #21090] info index doesn't take you to the referenced line number

From: Stephane Chazelas
Subject: [bug #21090] info index doesn't take you to the referenced line number
Date: Sat, 15 Sep 2007 22:18:15 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070723 Iceweasel/ (Debian-


                 Summary: info index doesn't take you to the referenced line
                 Project: texinfo - GNU documentation system
            Submitted by: chazelas
            Submitted on: Saturday 09/15/2007 at 22:18
                Category: info
                 Release: 4.11
                Priority: 7 - High
                Severity: 3 - Normal
              Item Group: enhancement
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
                  Status: None
         Discussion Lock: Any



The index (with completion) is the one feature that makes the info concept so
superior to other document browsing supports and the "info" reader superior to
other info reader like pinfo.

However, there's one annoying thing in that typing i followed by some index
entry takes you to the node containing the indexed subject, but not to the
line where that subject is discussed in the node. Which is a shame given that
at least in recent info languages, the line number *is* stored in the index.
Instead, info searches for the first occurrence of the text of the label in
the node.

For example, let's say you want to learn about the "read" built-in command of
the zsh shell. You type:

  info zsh




And you're taken to the "Builtin commands" node, which is fine, but which is
a huge node. And you're not taken to the documentation of the "read" command,
but to the first appearance of the word "read" on that page which is very near
the top as "read" is quite a common word.

I attach a patch that fixes is for me.


File Attachments:

Date: Saturday 09/15/2007 at 22:18  Name: diff.txt  Size: 1kB   By: chazelas



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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