all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Commands with more than one keybinding in menus
@ 2013-08-13  9:33 Thorsten Jolitz
  2013-08-13 13:48 ` Michael Heerdegen
  0 siblings, 1 reply; 12+ messages in thread
From: Thorsten Jolitz @ 2013-08-13  9:33 UTC (permalink / raw)
  To: help-gnu-emacs


Hi List, 

if a command that should appear in the menu for a mode has more than one
keybinding - how do I specify which binding shows up in the menu?   

As an example, say command `demote' of 'my-mode' is bind to 'C-c C-c >'
and 'C-M-<right>', and I want the latter binding to appear in the menu
entry of 'my-mode'. Is that a matter of definition order - the binding
last defined in the mode's library is shown - or is there a way to
specify the displayed binding in the menu-map definition?

-- 
cheers,
Thorsten





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-08-14 16:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3104.1376386441.12400.help-gnu-emacs@gnu.org>
2013-08-13 14:57 ` Commands with more than one keybinding in menus Stefan Monnier
2013-08-13 21:13   ` Thorsten Jolitz
2013-08-14 12:36     ` Michael Heerdegen
2013-08-14 13:25       ` Thorsten Jolitz
     [not found]       ` <mailman.3200.1376486779.12400.help-gnu-emacs@gnu.org>
2013-08-14 14:12         ` Stefan Monnier
2013-08-14 15:40           ` Thorsten Jolitz
     [not found]           ` <mailman.3205.1376494881.12400.help-gnu-emacs@gnu.org>
2013-08-14 16:23             ` Stefan Monnier
2013-08-14 16:55               ` Thorsten Jolitz
     [not found]   ` <mailman.3163.1376428457.12400.help-gnu-emacs@gnu.org>
2013-08-14 14:09     ` Stefan Monnier
2013-08-13  9:33 Thorsten Jolitz
2013-08-13 13:48 ` Michael Heerdegen
2013-08-13 14:52   ` Thorsten Jolitz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.