Mercurial > emacs
comparison man/programs.texi @ 29084:764f858acd8a
Imenu addition
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 22 May 2000 18:15:33 +0000 |
parents | e3d33a77c205 |
children | 203ba1f77b7b |
comparison
equal
deleted
inserted
replaced
29083:17c7b5770672 | 29084:764f858acd8a |
---|---|
2370 | 2370 |
2371 @findex imenu | 2371 @findex imenu |
2372 @findex imenu-add-menu-bar-index | 2372 @findex imenu-add-menu-bar-index |
2373 @kbd{M-x imenu} builds the index if necessary and presents you with an | 2373 @kbd{M-x imenu} builds the index if necessary and presents you with an |
2374 electric buffer menu from which to select an entry (with completion). | 2374 electric buffer menu from which to select an entry (with completion). |
2375 You can add an index menubar on the menubar with | 2375 If you bind @code{imenu} to a mouse event (@pxref{Mouse Buttons}) and |
2376 @kbd{imenu-add-menu-bar-index}. | 2376 invoke it that way, the index will appear as a popup menu; there is no |
2377 such binding by default. You can add an index menubar on the menubar | |
2378 with @kbd{imenu-add-menu-bar-index}. | |
2377 | 2379 |
2378 Some major modes provide facilities for invoking Imenu; otherwise you | 2380 Some major modes provide facilities for invoking Imenu; otherwise you |
2379 could add @code{imenu-add-menu-bar-index} to a major mode's hook to | 2381 could add @code{imenu-add-menu-bar-index} to a major mode's hook to |
2380 generate an index for each buffer created in that mode. (If you do | 2382 generate an index for each buffer created in that mode. (If you do |
2381 that, it takes sime time to generate the index when finding a file, | 2383 that, it takes sime time to generate the index when finding a file, |