summaryrefslogtreecommitdiff
path: root/lisp/tmm.el
Commit message (Collapse)AuthorAgeFilesLines
* (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