all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 7662@debbugs.gnu.org
Subject: bug#7662: 24.0.50; Keybindings for menu items not aligned
Date: Tue, 21 Dec 2010 07:22:54 -0500	[thread overview]
Message-ID: <E1PV1F0-0001QY-U9@fencepost.gnu.org> (raw)
In-Reply-To: <8739prvcq0.fsf@stupidchicken.com> (message from Chong Yidong on Tue, 21 Dec 2010 14:53:11 +0800)

> From: Chong Yidong <cyd@stupidchicken.com>
> Cc: 7662@debbugs.gnu.org
> Date: Tue, 21 Dec 2010 14:53:11 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Some of the key bindings shown in in the menu-bar menus are not aligned
> > properly.  I saw 2: Edit->Copy ("M-w" is 1 column to the left from where
> > it should have been), and Lisp Interaction->Instrument Function for Debugging.
> > (The latter problem also shows on the emacs-23 branch.)
> 
> Could this be Windows-only?

I don't think so, since I see it in the DOS build as well (which uses
neither the Windows "toolkit" nor the w32 code that handles menus).

> I don't see anything out of the ordinary on a GTK build (screenshot
> attached).

Judging by the screenshot, it looks like GTK has its own ideas about
formatting the menu items: it flushes the end of the key sequences all
the way to the right.  If so, it's a small wonder that you don't see
the problem, which happens when the _beginning_ of the key sequences
should be aligned.  That is, I expect to see

  Undo     C-x u
  Cut      C-w
  Copy	   M-w
  Paste    C-y

but instead I see this:

  Undo     C-x u
  Cut      C-w
  Copy	  M-w    <<<<<<<<<<<<<<<<<<<<<<<<<
  Paste    C-y

I suggest to try with a less viral toolkit, or without any toolkit.
The latter should generally exhibit the same behavior as the DOS
build, since they both use the same code to create the menus.  (I
originally suspected that the Windows build hits this because it uses
a proportional font, but of course the DOS build does not, so that's
not it.)





  reply	other threads:[~2010-12-21 12:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 16:28 bug#7662: 24.0.50; Keybindings for menu items not aligned Eli Zaretskii
2010-12-21  6:53 ` Chong Yidong
2010-12-21 12:22   ` Eli Zaretskii [this message]
2010-12-25 17:25     ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=E1PV1F0-0001QY-U9@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=7662@debbugs.gnu.org \
    --cc=cyd@stupidchicken.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.