From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7662: 24.0.50; Keybindings for menu items not aligned Date: Tue, 21 Dec 2010 07:22:54 -0500 Message-ID: References: <83y67ofjng.fsf@gnu.org> <8739prvcq0.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1292935990 9180 80.91.229.12 (21 Dec 2010 12:53:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 12:53:10 +0000 (UTC) Cc: 7662@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 21 13:53:03 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PV1iB-0000zJ-Nf for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Dec 2010 13:53:03 +0100 Original-Received: from localhost ([127.0.0.1]:51613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV1iB-0003wz-7f for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Dec 2010 07:53:03 -0500 Original-Received: from [140.186.70.92] (port=34772 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV1i5-0003we-Sx for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2010 07:52:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV1i4-0005ss-GZ for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2010 07:52:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV1i4-0005sa-CW for bug-gnu-emacs@gnu.org; Tue, 21 Dec 2010 07:52:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PV19K-0006UP-Bn; Tue, 21 Dec 2010 07:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Dec 2010 12:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7662 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7662-submit@debbugs.gnu.org id=B7662.129293378824896 (code B ref 7662); Tue, 21 Dec 2010 12:17:02 +0000 Original-Received: (at 7662) by debbugs.gnu.org; 21 Dec 2010 12:16:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV18l-0006TV-JN for submit@debbugs.gnu.org; Tue, 21 Dec 2010 07:16:27 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV18k-0006TJ-0z for 7662@debbugs.gnu.org; Tue, 21 Dec 2010 07:16:26 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PV1F0-0001QY-U9; Tue, 21 Dec 2010 07:22:54 -0500 In-reply-to: <8739prvcq0.fsf@stupidchicken.com> (message from Chong Yidong on Tue, 21 Dec 2010 14:53:11 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 21 Dec 2010 07:17:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42709 Archived-At: > From: Chong Yidong > Cc: 7662@debbugs.gnu.org > Date: Tue, 21 Dec 2010 14:53:11 +0800 > > Eli Zaretskii 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.)