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
Juri Linkov
e43cbeae69
(tmm-inactive, tmm-remove-inactive-mouse-face):
...
Rename `tmm-inactive-face' to `tmm-inactive'.
2005-06-06 16:28:26 +00:00
Juri Linkov
1c8c129532
* tmm.el (tmm-inactive-face): Inherit from `shadow' face.
2005-06-06 12:24:51 +00:00
Nick Roberts
04a5d30f45
(tmm-inactive-face): New face.
...
(tmm-remove-inactive-mouse-face): New function.
(tmm-prompt, tmm-add-one-shortcut)
(tmm-add-prompt, tmm-get-keymap): Make active menu items visible
but not selectable.
2005-06-03 11:24:06 +00:00
Richard M. Stallman
b74f660610
(tmm-shortcut): Avoid using beginning-of-buffer.
2005-05-21 04:50:59 +00:00
Nick Roberts
7ae862e279
(tmm-get-keymap): Include only active menus and menu items.
2005-05-13 23:23:42 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Pavel Janík
e5ba1eb9ef
(tmm-completion-prompt): Doc fix.
2002-04-22 15:30:18 +00:00
Pavel Janík
9789516772
(tmm-get-keymap): Honour :visible in `menu-item'.
...
Add Keywords header. Update Commentary section.
Update copyright notice.
2002-01-27 11:17:06 +00:00
Pavel Janík
6a810a2a99
(tmm-add-prompt): Remove make-local-hook.
2001-11-25 11:31:50 +00:00
Gerd Moellmann
0595722b7c
(tmm-get-keymap): Fix handling of :filter.
...
(tmm-add-prompt): Bind buffer-read-only to nil when inserting
text into *Completions*.
2001-05-18 13:10:43 +00:00
Gerd Moellmann
ea0230965a
Update copyright.
2000-12-06 15:51:13 +00:00
Stefan Monnier
c19cc27530
(tmm-get-keymap): Eval the menu name in `menu-item'.
2000-12-02 21:31:12 +00:00
Dave Love
e07436e1c6
Replace mapcar with mapc in several places.
2000-09-17 19:44:42 +00:00
Gerd Moellmann
d0bca3c92e
(tmm-prompt): Recognize menu item definitions of the for
...
`(menu-item ...)' when looking for the position of DEFAULT-ITEM.
2000-05-29 15:50:01 +00:00
Gerd Moellmann
fbe91bbdb9
(tmm-goto-completions): Adapt to prompt being part
...
of mini-buffer.
2000-01-17 15:32:56 +00:00
Gerd Moellmann
c2a8d4a7df
(tmm-shortcut): Delete region after prompt instead
...
of erasing buffer.
2000-01-11 22:04:24 +00:00
Richard M. Stallman
dd81ca0dd8
(tmm-get-keymap): Handle :filter.
1998-06-14 18:46:20 +00:00
Richard M. Stallman
437d9247a0
(tmm-get-keymap): Fix previous change;
...
access the equiv string from the cache properly.
1998-05-05 21:37:23 +00:00
Richard M. Stallman
ae3f2f3c6b
(tmm-get-keymap): Handle new format menu item w/o cache.
...
(tmm-prompt): If reach an empty menu, get an error.
1998-04-21 04:51:23 +00:00
Karl Heuer
42d140b44b
(tmm-get-keymap): Handle `menu-item' menu items.
1998-04-13 18:55:05 +00:00
Stephen Eglen
4bef911093
Customized.
1998-03-07 18:19:38 +00:00
Richard M. Stallman
2a9f2437c4
(tmm-get-keymap): Ignore any command now disabled for menus.
1997-08-24 04:00:25 +00:00
Richard M. Stallman
ca85cf8a5a
(tmm-prompt): Use save-excursion around completing-read code.
...
(tmm-add-prompt): Clean up using save-selected-window
and with-current-buffer.
1997-07-15 19:07:02 +00:00
Richard M. Stallman
1146fab338
(tmm-get-keymap): Recognize explicit lambda expressions as valid.
1997-01-23 06:25:22 +00:00
Richard M. Stallman
670ce6ea7a
(tmm-add-one-shortcut): New subroutine.
...
(tmm-add-shortcuts): Code moved to tmm-add-one-shortcut.
Handle tmm-shortcut-style and tmm-shortcut-words.
(tmm-define-keys): Use suppress-keymap.
Moved use-local-map from the caller here.
tmm-short-cuts is now a list of chars, not of one-char strings.
(tmm-completion-delete-prompt): New function, used in
completion-setup-hook.
(tmm-shortcut-style): New variable.
(tmm-shortcut-words): New variable.
(tmm-shortcut): Handle tmm-shortcut-style.
The shortcut searched in tmm-short-cuts is now a char, not a string.
1996-09-01 19:47:48 +00:00
Richard M. Stallman
9f80907ace
(tmm-add-prompt): If tmm-completion-prompt is nil,
...
don't insert it; instead delete the usual completion helptext.
(tmm-completion-prompt): Doc fix.
1996-06-29 06:21:17 +00:00
Richard M. Stallman
fe03654a86
(tmm-define-keys): New arg MINIBUFFER.
...
(tmm-add-prompt): Pass new arg in both calls.
1996-03-28 18:16:43 +00:00
Richard M. Stallman
f5632218b0
Comment change.
1996-03-02 05:37:13 +00:00
Karl Heuer
3132f3193d
(tmm-prompt): Set last-command-event before calling the
...
selected function.
1996-01-24 21:59:32 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Karl Heuer
8e735883f4
(tmm-menubar-mouse): Add autoload cookie.
1996-01-09 23:20:11 +00:00
Karl Heuer
91a5e36784
(tmm-get-keybind): Doc fix.
1996-01-04 23:50:50 +00:00
Richard M. Stallman
bdbc768529
(tmm-prompt): Major cleanups. Handle pop-menu case nicely.
...
Arg BIND renamed to MENU.
Look at MENU to decide whether it is a keymap.
Arg IN-POPUP now used only in recursive call.
Use "Menu bar" as the default menu name.
Delete some debugging code.
1996-01-02 06:35:43 +00:00
Richard M. Stallman
77cc5db0c3
(tmm-menubar-mouse): New function, handles [menu-bar mouse-1].
...
(tmm-menubar): New arg x-position.
(tmm-prompt): New arg default-item specifies item to offer by default.
1996-01-02 05:59:20 +00:00
Richard M. Stallman
c5c4b51cc6
(tmm-prompt): Delete tmm-add-prompt if we fail.
...
Don't switch to *Completions* if it wasn't created.
1995-11-18 15:57:50 +00:00
Richard M. Stallman
10fe2d3844
(tmm-define-keys): Don't define ESC ESC.
1995-11-13 03:20:37 +00:00
Richard M. Stallman
6d0150f9a7
Define menu-bar mouse-1 as tmm-menubar.
1995-11-11 04:06:54 +00:00
Richard M. Stallman
b46324e6b3
(tmm-define-keys): New subroutine.
...
(tmm-add-prompt): Use that to define keys in both maps separately.
Use f10 as well as M-`.
1995-11-10 17:29:36 +00:00
Richard M. Stallman
be01074898
Comment change.
1995-10-30 17:35:01 +00:00
Richard M. Stallman
fc225f6691
(tmm-old-mb-map): Initialize to nil.
...
(tmm-delete-map): Don't use tmm-old-mb-map if nil.
(tmm-add-prompt): Bind C-n and C-p.
Put only the shortcuts into the completion buffer's map.
Produce the completion list by hand so as not to sort it.
(tmm-prompt): Start at the first item in the menu.
Don't reverse tmm-km-list; reverse compl-list instead.
Use try-completion in last-ditch attempt to find a match.
Rename compl-list to history.
(tmm-get-keybind): Put more local bindings last in a menu.
Major rewrite.
(tmm-menubar): Handle menu-bar-final-items.
(tmm-remove-shortcuts): Function deleted.
(tmm-add-shortcuts): If we can't find a letter shortcut,
use a numeric shortcut.
1995-10-30 16:33:49 +00:00
Richard M. Stallman
e6a5c7de38
Fix typo in global-map define.
1995-08-28 00:15:59 +00:00
Richard M. Stallman
afb1835e0b
Don't alter bindings in minibuffer-local-must-match-map
...
or completion-list-mode-map.
(tmm-add-prompt): Use make-local-hook; add hook locally.
(tmm-delete-map): Delete hook locally.
1995-08-03 17:39:53 +00:00
Richard M. Stallman
d440e4741a
Comment change.
1995-03-11 03:58:31 +00:00
Richard M. Stallman
20062d6bc8
Initial revision
1995-03-11 03:57:25 +00:00