GNU bug report logs - #17888
24.4.50; key binding not shown in menu item for alias command

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 30 Jun 2014 22:35:02 UTC

Severity: minor

Tags: notabug

Found in version 24.4.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 17888 <at> debbugs.gnu.org, drew.adams <at> oracle.com
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 <at> gnus.org>
> Date: Wed, 20 Jan 2021 03:06:07 +0100
> Cc: 17888 <at> debbugs.gnu.org
> 
> Drew Adams <drew.adams <at> 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.




This bug report was last modified 4 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.