Chong Yidong
8c70738055
* imenu.el (imenu-update-menubar): Use buffer-chars-modified-tick.
2006-09-01 13:30:55 +00:00
Richard M. Stallman
4b21e5f30f
(imenu-choose-buffer-index): Doc fix.
2006-07-09 01:59:34 +00:00
Luc Teirlinck
f5aefd63a6
(imenu--index-alist): Balance parentheses.
2006-04-18 22:49:21 +00:00
Richard M. Stallman
98639288c8
(imenu-create-index-function, imenu--index-alist)
...
(imenu--last-menubar-index-alist, imenu--make-index-alist)
(imenu-default-create-index-function, imenu--generic-function):
Doc fixes.
2006-04-18 21:22:33 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Juanma Barranquero
ebf944d7ac
(imenu--completion-buffer): Change space constants followed by a sexp to "?\s ".
2005-06-29 13:49:08 +00:00
Daniel Pfeiffer
fb50d1e9db
(imenu-generic-expression, imenu--generic-function'): REGEXP may also be a search function now. The part of doc-string for describing the structure was 95% identical to that of `imenu--generic-function'. Unify it there.
2005-05-21 02:44:29 +00:00
Juanma Barranquero
f530778210
Specify missing group (and type, if simple) in defcustom.
2005-05-19 19:06:19 +00:00
Richard M. Stallman
1cade2b675
(imenu--generic-function): The official position of a
...
definition is the start of the line that BEG is in.
2005-04-23 16:43:30 +00:00
Kim F. Storm
bf247b6ed0
Change release version from 21.4 to 22.1 throughout.
...
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
5f7bccdad8
(imenu--split-menu): Copy menulist before sorting.
...
(imenu--generic-function): Use START, not BEG, as pos of definition.
2005-01-15 18:09:16 +00:00
Richard M. Stallman
237470e87b
(imenu--generic-function): Delete code to exclude matches in comments.
2004-12-03 00:21:37 +00:00
Richard M. Stallman
71eb630896
Don't always require newcomment.
...
(imenu--generic-function): Call comment-normalize-vars
if we have a comment syntax.
Exit the loop if REGEXP matches the null string.
Test comment-start as well as comment-start-skip
when deciding whether to check for comments.
2004-11-25 02:57:47 +00:00
Richard M. Stallman
58b00d475b
(imenu--generic-function):
...
Ensure we keep moving backward even if BEG isn't further back.
2004-11-20 23:31:55 +00:00
Richard M. Stallman
977bbd4d38
(imenu-eager-completion-buffer): Add :version.
2004-11-04 10:00:53 +00:00
Kim F. Storm
9d4af4c7b8
(imenu-scanning-message): Remove.
...
(imenu-progress-message): Make it a no-op.
2004-10-28 14:11:32 +00:00
Daniel Pfeiffer
8522009efb
(imenu--generic-function): Skip matches in comments.
2004-10-26 21:38:09 +00:00
Stefan Monnier
bfbc9ea9e0
(imenu--completion-buffer): Don't return t for rescan.
...
(imenu-choose-buffer-index): Check here for rescan instead.
2004-10-10 03:17:52 +00:00
Richard M. Stallman
9a69579e35
Several doc fixes: don't say variables are buffer-local.
2004-08-16 22:40:47 +00:00
Stefan Monnier
38357a23f4
(imenu-prev-index-position-function)
...
(imenu-extract-index-name-function, imenu-name-lookup-function)
(imenu--index-alist): Docstring redundancy fix.
2004-07-26 21:16:08 +00:00
Richard M. Stallman
bcaa1cef05
(imenu--menubar-select): Set imenu-menubar-modified-tick
...
and imenu--last-menubar-index-alist.
2004-05-29 14:35:20 +00:00
Lute Kamstra
61567afa43
(imenu--generic-function): Docstring fix.
2003-10-02 09:45:16 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Stefan Monnier
dd631e8aec
(imenu--split-menu): Remove unused var `count'.
...
Don't copy the sequence since we're already modifying it elsewhere.
(imenu--create-keymap): Rename from imenu--create-keymap-1.
Add optional `cmd' argument. Remove unused var `counter'.
(imenu-update-menubar): Use the new arg to get the old behavior.
(imenu--mouse-menu): Don't use the new arg to recover the lost behavior.
2003-05-16 21:12:25 +00:00
Stefan Monnier
95e60ff984
(imenu--generic-function): Use font-lock-defaults
...
case setting if imenu-case-fold-search is not locally set.
2003-05-06 15:16:27 +00:00
Glenn Morris
23d468dadd
(imenu-syntax-alist): Doc fix.
2002-08-20 20:35:56 +00:00
Glenn Morris
5b89a8c974
(imenu--generic-function): Use mapc.
2002-08-20 20:23:25 +00:00
Stefan Monnier
5988bd2708
(imenu-always-use-completion-buffer-p): Make obsolete.
...
(imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
(imenu-space-replacement): Allow nil value.
(imenu--completion-buffer): Use new vars and simplify.
Fix handling of minibuffer-setup-hook.
Use minibuffer-completion-help instead of rolling our own.
(imenu-choose-buffer-index): Use the new var.
2002-08-15 00:12:30 +00:00
Richard M. Stallman
9fb980fc3d
(imenu-menubar-modified-tick): Renamed from
...
imenu-update-menubar-modified-tick.
(imenu-update-menubar): Update imenu-menubar-modified-tick
whenever outer condition succeeds.
2002-03-18 04:27:30 +00:00
Richard M. Stallman
a3841d3be9
(imenu-update-menubar-modified-tick): New variable.
...
(imenu-update-menubar): Don't call imenu--make-index-alist
if buffer has not changed since last time.
2002-03-11 09:16:37 +00:00
Stefan Monnier
0cdb3baa24
(imenu--split-menu): Use dolist and copy-sequence.
...
(imenu--create-keymap-2): Remove.
(imenu--create-keymap-1): Simplify, remove third argument.
(imenu--generic-function): Use dolist.
(imenu-find-default): New function.
(imenu--completion-buffer): Use it.
(imenu--mouse-menu): Use popup-menu.
(imenu--menubar-select): Return t rather than calling imenu.
2001-11-20 00:17:25 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Dave Love
eeb2442973
(imenu--create-keymap-2): Revert use of menu-item for
...
now, to avoid problems with binding imenu directly to a mouse event.
2001-03-07 19:04:54 +00:00
Dave Love
c516e98ef4
(imenu--generic-function): Use mapc to iterate over
...
syntax characters.
2001-02-18 16:41:13 +00:00
Dave Love
1447c4b10f
(imenu-generic-expression): Doc fix.
2001-02-09 15:41:08 +00:00
Gerd Moellmann
005913e452
(imenu-syntax-alist): Add autoload cookie for
...
the `make-variable-buffer-local'.
2001-01-29 15:50:53 +00:00
Dave Love
117be359bf
(imenu--truncate-items): Revert last change.
2001-01-11 19:04:29 +00:00
Dave Love
0dcf8835e3
(imenu--create-keymap-2): Build menu with menu-item
...
using :key-sequence, making it much more usable. Use nconc, not
append.
(imenu--create-keymap-1): Avoid append.
2000-10-23 17:24:54 +00:00
Dave Love
fbfb705c15
(imenu-add-to-menubar): Fix again.
2000-10-08 15:13:43 +00:00
Dave Love
f1d7969d31
(imenu-add-to-menubar): Fix last change.
2000-10-08 09:37:01 +00:00
Dave Love
e26b2a2881
(imenu--truncate-items, imenu--cleanup)
...
(imenu--generic-function): Avoid mapcar.
(imenu--replace-spaces): Function removed.
(imenu--completion-buffer): Use subst-char-in-string.
(imenu-add-to-menubar): Use keymap inheritance.
2000-09-12 12:49:20 +00:00
Stefan Monnier
70223ca45d
(imenu-generic-expression): Docstring fix.
2000-06-11 05:34:05 +00:00
Dave Love
f1ed9461a9
Add to debug-ignored-errors.
2000-05-22 17:41:53 +00:00
Phillip Rulon
020e8fdf93
(imenu-after-jump-hook): New variable.
...
(imenu): Run menu-after-jump-hook.
(imenu-name-lookup-function): New variable.
(imenu--in-alist): Use those variables.
1999-09-24 13:55:29 +00:00
Richard M. Stallman
fdc5fa25cb
(imenu--mouse-menu): Use assq when searching in FINAL.
1999-04-06 20:02:45 +00:00
Richard M. Stallman
0cff96e7ce
(imenu--last-menubar-index-alist): Add doc.
...
(imenu-add-to-menubar): Reset imenu--last-menubar-index-alist.
1999-02-06 21:50:53 +00:00
Richard M. Stallman
df90db1359
(imenu-sort-function): Fix custom type.
1999-01-31 07:20:12 +00:00
Karl Heuer
c01ee596b5
(imenu--generic-function): Sort each submenu by position.
...
(imenu--sort-by-position): New function.
1998-09-30 19:21:01 +00:00