From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 17888@debbugs.gnu.org
Subject: bug#17888: 24.4.50; key binding not shown in menu item for alias command
Date: Wed, 20 Jan 2021 03:06:07 +0100 [thread overview]
Message-ID: <87bldk746o.fsf@gnus.org> (raw)
In-Reply-To: <45a7ca34-b299-495d-9c0b-05316bb59756@default> (Drew Adams's message of "Mon, 30 Jun 2014 15:34:03 -0700 (PDT)")
Drew Adams <drew.adams@oracle.com> writes:
> (defun foo () (interactive)(message "Foo"))
> (global-set-key "\C-o" 'foo)
>
> (defalias 'bar 'foo)
> (define-key menu-bar-edit-menu [bar] '(menu-item "Do It" bar))
>
> In the Edit menu, the key `C-o' is not shown next to item `Do It'.
Is it supposed to? I'm not sure whether that would be surprising or
not. Does anybody have an opinion?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-01-20 2:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-30 22:34 bug#17888: 24.4.50; key binding not shown in menu item for alias command Drew Adams
2021-01-20 2:06 ` Lars Ingebrigtsen [this message]
2021-01-20 15:10 ` Eli Zaretskii
2021-01-27 6:49 ` Lars Ingebrigtsen
2021-01-27 16:31 ` bug#17888: [External] : " 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=87bldk746o.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=17888@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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).