all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Commands with more than one keybinding in menus
Date: Tue, 13 Aug 2013 11:33:32 +0200	[thread overview]
Message-ID: <87ob92lytv.fsf@gmail.com> (raw)


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





             reply	other threads:[~2013-08-13  9:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13  9:33 Thorsten Jolitz [this message]
2013-08-13 13:48 ` Commands with more than one keybinding in menus Michael Heerdegen
2013-08-13 14:52   ` Thorsten Jolitz
     [not found] <mailman.3104.1376386441.12400.help-gnu-emacs@gnu.org>
2013-08-13 14:57 ` 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob92lytv.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.