bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17888: 24.4.50; key binding not shown in menu item for alias command


From: Eli Zaretskii
Subject: bug#17888: 24.4.50; key binding not shown in menu item for alias command
Date: Wed, 20 Jan 2021 17:10:49 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 20 Jan 2021 03:06:07 +0100
> Cc: 17888@debbugs.gnu.org
> 
> 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?

Indeed, it isn't clear at all that the expectations in this case are
correct.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]