[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:1.8.1.6) Gecko/20070723 Iceweasel/2.0.0.6 (Debian-2.0.0.6-1) |
URL:
<http://savannah.gnu.org/bugs/?21090>
Summary: info index doesn't take you to the referenced line
number
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
_______________________________________________________
Details:
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
Then
i
then
read
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
<http://savannah.gnu.org/bugs/download.php?file_id=13956>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21090>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #21090] info index doesn't take you to the referenced line number,
Stephane Chazelas <=