GNU bug report logs -
#6559
24.0.50; :keys misaligns keyboard equivalents
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 3 Jul 2010 17:01:02 UTC
Severity: minor
Tags: unreproducible
Found in version 24.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
emacs -Q
This bug is a regression, starting with Emacs 23.2. There is no such
bug in Emacs 23.1, Emacs 22, 21, or 20.
See attached screenshots.
:key was used only for the menu item `Current Status, Mode Help'; the
other menu items do not use :key. You can see that the `?' is
misaligned: it is too far to the left.
The screenshot `throw-emacs-23-1-keys-OK.png' shows what Emacs 23.1
gives - the alignment is OK. Emacs 22, 21, and 20 are similar.
These are the relevant code lines, for context:
(define-key bmkp-bmenu-menubar-menu [bmkp-bmenu-quit]
'(menu-item "Quit" bmkp-bmenu-quit
:help "..."))
(define-key bmkp-bmenu-menubar-menu [bmkp-bmenu-describe-marked]
'(menu-item "Describe Marked Bookmarks" bmkp-bmenu-describe-marked
:help "..."))
(define-key bmkp-bmenu-menubar-menu [bmkp-bmenu-describe-this-bookmark]
'(menu-item "Describe This Bookmark" bmkp-bmenu-describe-this-bookmark
:help "..."))
(define-key bmkp-bmenu-menubar-menu [bmkp-bmenu-mode-status-help]
'(menu-item "Current Status, Mode Help" bmkp-bmenu-mode-status-help :keys "?"
:help "..."))
(define-key bmkp-bmenu-menubar-menu [top-sep2] '("--"))
(define-key bmkp-bmenu-menubar-menu [bmkp-toggle-saving-menu-list-state]
'(menu-item "Toggle Autosaving Display State"
bmkp-toggle-saving-menu-list-state
:help "..."))
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-06-28 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/xpm/include'
[throw-emacs-23-1-keys-OK.png (image/png, attachment)]
[drew-emacs-bookmark+-menu.png (image/png, attachment)]
This bug report was last modified 13 years and 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.