summaryrefslogtreecommitdiff
path: root/lisp/tmm.el
Commit message (Collapse)AuthorAgeFilesLines
* (tmm-get-keybind): Use copy-sequence to ensure that theNick Roberts2007-04-141-1/+1
| | | | global map isn't modified
* (tmm-get-keybind): Use car-safe to avoid errors withNick Roberts2007-04-131-2/+2
| | | | inherited keymaps.
* (tmm-menubar, tmm-prompt): Handle visibility of top level menu-items.Nick Roberts2007-04-031-6/+16
|
* (tmm-c-prompt): Initialize.Nick Roberts2007-04-031-12/+25
| | | | | | (tmm-menubar): Deal with extended menu-items at top level. (tmm-get-keybind): Handle bindings that are redefined/undefined locally.
* (tmm-menubar): Select the right menu item with the mouse.Nick Roberts2007-03-301-20/+23
| | | | | (tmm-prompt): Don't make the mouse user select the first menu item twice.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (tmm-add-one-shortcut): "?\ " -> "?\s".Juanma Barranquero2006-11-271-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (tmm-inactive, tmm-remove-inactive-mouse-face):Juri Linkov2005-06-061-2/+2
| | | | Rename `tmm-inactive-face' to `tmm-inactive'.
* * tmm.el (tmm-inactive-face): Inherit from `shadow' face.Juri Linkov2005-06-061-2/+1
|
* (tmm-inactive-face): New face.Nick Roberts2005-06-031-37/+73
| | | | | | | (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.
* (tmm-shortcut): Avoid using beginning-of-buffer.Richard M. Stallman2005-05-211-1/+1
|
* (tmm-get-keymap): Include only active menus and menu items.Nick Roberts2005-05-131-1/+4
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (tmm-completion-prompt): Doc fix.Pavel Janík2002-04-221-1/+1
|
* (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.