|
From: | Bruce Ingalls |
Subject: | Re: standard popup menu |
Date: | Sun, 13 Jul 2003 01:57:58 GMT |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 |
Henrik Enberg wrote:
Bruce Ingalls <bingalls@CUT-this-SPAM-BLOCK.fit-zones.com> writes:... '(t "Undo C-_" "(undo)") If anyone knows how to put a tab in popup menu description, to better align the keyboard shortcuts, or for that matter, programmatically insert the keybinding, instead of using hard-coding, let me know.(key-binding (kbd "C-_")) => undo dunno about tabs in menus.
Thanks. I hadn't thought of it that way. I was rather thinking of putting "undo" in the menu, and display whatever is bound to it. In other words, if someone binds C-z to undo, that would show up. I'm not sure that users want C-_ to show up in the menu, if it is not bound to their favorite function. I was hoping for something like (reverse-key-binding "undo") which results in C-_ or perhaps C-z, if remapped.
[Prev in Thread] | Current Thread | [Next in Thread] |