unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* `i' in Info: get combo index tailored to input
@ 2009-06-26 21:15 Drew Adams
  2009-06-26 22:31 ` Juri Linkov
  0 siblings, 1 reply; 6+ messages in thread
From: Drew Adams @ 2009-06-26 21:15 UTC (permalink / raw)
  To: emacs-devel

Feature suggestion for `i' in Info - it could be bound to `C-u i':

Display a list (with links) of all index entries that match the user's
input, grouped by index.  This would, in effect, be a combined index
specialized to the user's input.  It would combine the subsets of each
index that match the user input.

For the input `truncate' in the Emacs manual, for instance, you would
see something like this:

 Command Index

 * comint-truncate-buffer
 * toggle-truncate-lines

 Variable Index

 * truncate-lines
 * truncate-partial-width-windows

For some contexts, this would be more convenient than having to cycle
blindly with `,' - seeing only how many other entries there are (not
what they are and what indexes they occur in).

It would also obviate the minor annoyance of sequentially accessing
multiple matching entries that go to the same target, such as the two
entries that match the input `truncate-lines', one from the Variable
Index and the other from the Command Index, and which go to the same
node.  With ordinary `i' and `,', you need to cycle among the matches
to discover this overlap.


[FWIW - In Icicles, you can get this behavior, with the exception that
the entries are not grouped by index.  You use `i' with completion to
get a set of nodes that match your input.  Then you create a virtual
book (a menu) of those nodes.  For the example above, this is what you
get:

 File: toc,  Node: Top,  Up: (dir)

 Virtual Book
 ************

 * Menu:

 * comint-truncate-buffer (emacs)
 * toggle-truncate-lines (emacs)
 * truncate-lines (emacs)
 * truncate-partial-width-windows (emacs)

]





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-28 23:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-26 21:15 `i' in Info: get combo index tailored to input Drew Adams
2009-06-26 22:31 ` Juri Linkov
2009-06-27  0:21   ` Drew Adams
2009-06-28 21:32     ` Juri Linkov
2009-06-28 23:16       ` Drew Adams
2009-06-28 23:29         ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).