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#15576: 24.3.50; Some minor issues regarding the new TTY menus Date: Wed, 09 Oct 2013 22:26:35 +0300 Message-ID: <83zjqip7o4.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381346837 27299 80.91.229.3 (9 Oct 2013 19:27:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 19:27:17 +0000 (UTC) Cc: 15576@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 21:27:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTzPj-00016m-1j for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 21:27:19 +0200 Original-Received: from localhost ([::1]:43518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTzPi-0001j0-LC for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 15:27:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTzPZ-0001it-M8 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 15:27:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTzPS-0003pE-CR for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 15:27:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTzPS-0003p7-9B for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 15:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VTzPR-00079U-LT for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 15:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2013 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15576 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15576-submit@debbugs.gnu.org id=B15576.138134680727472 (code B ref 15576); Wed, 09 Oct 2013 19:27:01 +0000 Original-Received: (at 15576) by debbugs.gnu.org; 9 Oct 2013 19:26:47 +0000 Original-Received: from localhost ([127.0.0.1]:38454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTzPB-00078y-Ke for submit@debbugs.gnu.org; Wed, 09 Oct 2013 15:26:46 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:52527) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VTzP7-00078k-GT for 15576@debbugs.gnu.org; Wed, 09 Oct 2013 15:26:43 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MUF003001VS6D00@a-mtaout21.012.net.il> for 15576@debbugs.gnu.org; Wed, 09 Oct 2013 22:26:40 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MUF0033D20F0M80@a-mtaout21.012.net.il>; Wed, 09 Oct 2013 22:26:40 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79118 Archived-At: > Date: Wed, 9 Oct 2013 21:06:13 +0200 > From: Dani Moncayo > > First of all, thanks for implementing drop-down text menus. They are > way better that the text-mode-menus implemented so far. You are welcome. > 1. The "Buffers" menu becomes "Select Buffers" when selected (see > capture-1.png). I think that the text of the menus should not change > upon selection. The text shown at the top of the menu is the so-called "prompt string" that comes from the menu structure. And in menu-bar.el we have this: ;; We used to "(define-key (current-global-map) [menu-bar buffer]" ;; but that did not do the right thing when the [menu-bar buffer] ;; entry above had been moved (e.g. to a parent keymap). (setcdr global-buffers-menu-map (cons "Select Buffer" buffers-menu))))) ^^^^^^^^^^^^^^^ The menu display code does not invent anything, it just shows what's in the menu. If you want to change that, change menu-bar.el. (Personally, I don't see why "Select Buffer" is wrong here, but that's me.) > 2. When I select the "Help" menu, the drop-down list is shown shifted a > bit to the left wrt its "normal" position, because of lack of enough > space at the right side of the window (see capture-2.png). That's OK, > but the menu header ("Help") should not be shifted at all from its > original position (only the drop-down list should be). The menu is dropped as a single entity, and the heading (the prompt string) starts at the left edge of the menu. So this is by design, and won't change. > As you can see, the "elp" string at the right side looks weird. It doesn't look weird to me, but I'm used to this. Try clicking the mouse on the menu bar, somewhere within the "Help" string, and you will see that the menu is dropped where the mouse clicks, not necessarily where the "Help" is. IOW, this is a feature. > 3. From a GUI session, disable menu-bar-mode and type F10. I see that > the old text mode menu is shown. Why not show the new drop-down text > menu instead? Because the code for the new drop-down text menu will not work in the GUI session. The internals of the display engine which the menu code piggy-backs are completely different in the GUI mode. I tend to close this as not-a-bug. Any reasons not to?