aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/tmm.el
Commit message (Collapse)AuthorAgeFilesLines
* (tmm-get-keymap): Honour :visible in `menu-item'.Pavel Janík2002-01-271-22/+20
| | | | | Add Keywords header. Update Commentary section. Update copyright notice.
* (tmm-add-prompt): Remove make-local-hook.Pavel Janík2001-11-251-1/+0
|
* (tmm-get-keymap): Fix handling of :filter.Gerd Moellmann2001-05-181-7/+15
| | | | | (tmm-add-prompt): Bind buffer-read-only to nil when inserting text into *Completions*.
* Update copyright.Gerd Moellmann2000-12-061-1/+1
|
* (tmm-get-keymap): Eval the menu name in `menu-item'.Stefan Monnier2000-12-021-4/+2
|
* Replace mapcar with mapc in several places.Dave Love2000-09-171-27/+26
|
* (tmm-prompt): Recognize menu item definitions of the forGerd Moellmann2000-05-291-1/+2
| | | | `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
* (tmm-goto-completions): Adapt to prompt being partGerd Moellmann2000-01-171-2/+3
| | | | of mini-buffer.
* (tmm-shortcut): Delete region after prompt insteadGerd Moellmann2000-01-111-1/+2
| | | | of erasing buffer.
* (tmm-get-keymap): Handle :filter.Richard M. Stallman1998-06-141-1/+5
|
* (tmm-get-keymap): Fix previous change;Richard M. Stallman1998-05-051-2/+2
| | | | access the equiv string from the cache properly.
* (tmm-get-keymap): Handle new format menu item w/o cache.Richard M. Stallman1998-04-211-1/+4
| | | | (tmm-prompt): If reach an empty menu, get an error.
* (tmm-get-keymap): Handle `menu-item' menu items.Karl Heuer1998-04-131-39/+45
|
* Customized.Stephen Eglen1998-03-071-8/+23
|
* (tmm-get-keymap): Ignore any command now disabled for menus.Richard M. Stallman1997-08-241-0/+5
|
* (tmm-prompt): Use save-excursion around completing-read code.Richard M. Stallman1997-07-151-24/+21
| | | | | (tmm-add-prompt): Clean up using save-selected-window and with-current-buffer.
* (tmm-get-keymap): Recognize explicit lambda expressions as valid.Richard M. Stallman1997-01-231-4/+7
|
* (tmm-add-one-shortcut): New subroutine.Richard M. Stallman1996-09-011-57/+99
| | | | | | | | | | | | | | (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.
* (tmm-add-prompt): If tmm-completion-prompt is nil,Richard M. Stallman1996-06-291-2/+8
| | | | | don't insert it; instead delete the usual completion helptext. (tmm-completion-prompt): Doc fix.
* (tmm-define-keys): New arg MINIBUFFER.Richard M. Stallman1996-03-281-8/+10
| | | | (tmm-add-prompt): Pass new arg in both calls.
* Comment change.Richard M. Stallman1996-03-021-1/+1
|
* (tmm-prompt): Set last-command-event before calling theKarl Heuer1996-01-241-1/+3
| | | | selected function.
* Update FSF's address.Erik Naggum1996-01-141-11/+11
|
* (tmm-menubar-mouse): Add autoload cookie.Karl Heuer1996-01-091-0/+1
|
* (tmm-get-keybind): Doc fix.Karl Heuer1996-01-041-2/+2
|
* (tmm-prompt): Major cleanups. Handle pop-menu case nicely.Richard M. Stallman1996-01-021-75/+98
| | | | | | | | 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.
* (tmm-menubar-mouse): New function, handles [menu-bar mouse-1].Richard M. Stallman1996-01-021-16/+55
| | | | | (tmm-menubar): New arg x-position. (tmm-prompt): New arg default-item specifies item to offer by default.
* (tmm-prompt): Delete tmm-add-prompt if we fail.Richard M. Stallman1995-11-181-3/+6
| | | | Don't switch to *Completions* if it wasn't created.
* (tmm-define-keys): Don't define ESC ESC.Richard M. Stallman1995-11-131-2/+1
|
* Define menu-bar mouse-1 as tmm-menubar.Richard M. Stallman1995-11-111-0/+1
|
* (tmm-define-keys): New subroutine.Richard M. Stallman1995-11-101-13/+18
| | | | | | (tmm-add-prompt): Use that to define keys in both maps separately. Use f10 as well as M-`.
* Comment change.Richard M. Stallman1995-10-301-1/+1
|
* (tmm-old-mb-map): Initialize to nil.Richard M. Stallman1995-10-301-94/+125
| | | | | | | | | | | | | | | | | (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.
* Fix typo in global-map define.Richard M. Stallman1995-08-281-1/+1
|
* Don't alter bindings in minibuffer-local-must-match-mapRichard M. Stallman1995-08-031-8/+6
| | | | | | or completion-list-mode-map. (tmm-add-prompt): Use make-local-hook; add hook locally. (tmm-delete-map): Delete hook locally.
* Comment change.Richard M. Stallman1995-03-111-2/+1
|
* Initial revisionRichard M. Stallman1995-03-111-0/+320