unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Devel" <emacs-devel@gnu.org>
Subject: be able to specify the binding hint shown in menu items
Date: Tue, 22 May 2007 07:58:49 -0700	[thread overview]
Message-ID: <BDEIJAFNGDOAGCJIPKPBOEJKCEAA.drew.adams@oracle.com> (raw)

In some cases, I bind a menu-bar menu item to a command that is not, itself,
bound to a keyboard key sequence. However, I would like a particular key
sequence to appear in the menu next to the menu item.

I don't think there is currently a way to specify (i.e. hard-code) a
key-binding hint for a menu item. You can add text "     (C-x a)" to the
menu item itself, but there is then no way to right-align the binding hint.

Could this mini-feature be added after the release? The use case is having a
slightly different command bound to the menu item than what is to be
documented as the keyboard binding.

             reply	other threads:[~2007-05-22 14:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 14:58 Drew Adams [this message]
2007-05-22 15:20 ` be able to specify the binding hint shown in menu items Stefan Monnier
2007-05-22 16:16   ` Drew Adams
2007-05-22 16:18     ` Drew Adams
2007-05-22 15:46 ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=BDEIJAFNGDOAGCJIPKPBOEJKCEAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).