1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Karl Heuer
0a8e8bc63e (imenu-update-menubar): New function.
(imenu-add-to-menubar): Use an ordinary menu bar submenu.
Add imenu-add-to-menubar to menu-bar-update-hook to update the submenu.
(imenu--make-index-alist): Add noerror argument.
(imenu--menubar-select): New function.
(imenu--create-keymap-1, imenu--create-keymap-2): New arg COMMANDS.
(imenu): Allow a string as arg.
1995-12-21 17:47:08 +00:00
Richard M. Stallman
c30c8a0c8a (imenu-generic-expression, imenu--generic-function): Doc fix. 1995-11-25 00:28:44 +00:00
Karl Heuer
e064a4f982 (imenu-generic-lisp-expression)
(imenu-generic-c++-expression, imenu-generic-c-expression)
(imenu-generic-ada-expression, imenu-generic-texinfo-expression)
(imenu-generic-latex-expression): Vars deleted; now handled by the
major modes themselves.
(imenu--scanning-method-alist): Var deleted.
(imenu-default-create-index-function): Don't use that alist.
1995-07-28 00:36:18 +00:00
Richard M. Stallman
6c1bf12bb7 (imenu--history-list): Don't make this buffer-local.
(imenu): Call imenu-choose-buffer-index from interactive spec.

(imenu-generic-expression): Call make-variable-buffer-local.
(imenu-create-index-pattern): Variable deleted.

Many doc fixes.
1995-07-25 21:13:10 +00:00
Richard M. Stallman
4a840d8bf7 (imenu-choose-buffer-index): Avoid trying to select WINDOW if it is nil. 1995-07-21 12:40:55 +00:00
Richard M. Stallman
4cde72b44e (imenu-choose-buffer-index): Understand that (menu-bar)
doesn't specify a window.
1995-06-27 10:05:22 +00:00
Richard M. Stallman
2d24227e43 (imenu-use-keymap-menu): New variable.
(imenu-auto-rescan): New variable.
(imenu-auto-rescan-maxout): New variable.
(imenu-generic-expression): Doc changes.
(imenu-generic-lisp-expression): New variable.
(imenu-generic-c-expression): New variable.
(imenu-example--generic-c++-expression): Changed the name to
imenu-generic-c++-expression.
(imenu-example--generic-texinfo-expression): Changed the name to
imenu-generic-texinfo-expression.
(imenu-example--generic-latex-expression): Changed the name to
imenu-generic-latex-expression.
(imenu--scanning-method-alist): New variable.
(imenu--split-menu): Changed it to make the title "Index menu"
instead of "Function menus".
(imenu--make-index-alist): Changed to handle auto rescan.
(imenu--create-keymap-2): New function to create a keymap.
(imenu--create-keymap-1): New function.
(imenu--in-alist): New function.
(imenu-default-create-index-function): Changed to handle
imenu--scanning-method-alist).
(imenu--generic-extract-name): Removed.
(imenu--generic-function): Rewritten to handle submenus.
(imenu--mouse-menu): Changed to handle keymaps.
1995-06-27 06:23:43 +00:00
Richard M. Stallman
4818d21063 (imenu--cleanup): Set alist to its default just once, at the beginning.
Don't recurse on a cdr which is nil.
1995-02-22 01:31:14 +00:00
Richard M. Stallman
af447694e7 (imenu-always-use-completion-buffer-p): A value of
`never' now means never display a completion buffer.
(imenu--completion-buffer): implement 'never behaviour.
1994-12-23 05:05:22 +00:00
Karl Heuer
615b306cf5 (imenu-generic-expression): New variable.
(imenu-example--generic-c++-expression): New variable.
(imenu-example--generic-texinfo-expression): New variable.
(imenu-example--generic-latex-expression): New variable.
(imenu-example--create-c++-index): Deleted.
(imenu-example--function-name-regexp-c++): Deleted.
(imenu--generic-function): New function.
(imenu--generic-extract-name): New function.
(imenu-default-create-index-function): Added the generic function calls for
the provided examples.
1994-11-30 20:50:33 +00:00
Richard M. Stallman
056ab24479 (imenu): Widen temporary before scan the file.
Widen if the user asks to move to an object
that is outside the current accessible region.
1994-11-24 11:26:41 +00:00
Richard M. Stallman
7804cd2748 (imenu--cleanup): Changed 'mapc' to 'mapcar'. 1994-09-29 06:32:06 +00:00
Richard M. Stallman
5d3b0f182f (imenu, imenu--flatten-index-alist): Add marker support.
(imenu--cleanup): New function.
(imenu-example--name-and-position): Now uses markers.

(imenu-add-to-menubar): New function to add an entry
to the menubar for the buffer's current local keymap.
1994-08-01 07:11:43 +00:00
Richard M. Stallman
7dea4e70f4 (imenu-choose-buffer-index): Use last-nonmenu-event
to decide on mouse vs non-mouse.
(imenu-progress-message): New arg prevpos.  All callers changed.
Don't print messages too frequently.
1994-07-20 07:41:16 +00:00
Richard M. Stallman
31faef474e Comment fix. 1994-07-15 22:07:41 +00:00
Richard M. Stallman
a4e104bf5c Doc fix. 1994-05-22 22:14:17 +00:00
Richard M. Stallman
3e062f782c (imenu-default-create-index-function):
Temporarily build in handling of a few major modes.
(imenu--completion-buffer): Set completion-reference-buffer properly.
1994-05-06 06:06:08 +00:00
Richard M. Stallman
68e01f5af8 (imenu): Renamed from goto-index-pos.
Add autoload.
(imenu-prev-index-position-function): Renamed from prev-...
(imenu-extract-index-name-function): Renamed from extract-...
1994-05-04 21:34:13 +00:00
Richard M. Stallman
0ee4f8adff Require cl only at compile time.
(imenu--mouse-menu): Copy list by hand, not with copy-list.
1994-04-16 02:38:40 +00:00
Richard M. Stallman
26d6bb604c entered into RCS 1994-03-07 23:24:02 +00:00
Richard M. Stallman
0a688fd0fc Initial revision 1994-03-07 03:00:30 +00:00