From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#15576: 24.3.50; Some minor issues regarding the new TTY menus Date: Wed, 9 Oct 2013 22:11:48 +0200 Message-ID: References: <83zjqip7o4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1381349540 25887 80.91.229.3 (9 Oct 2013 20:12:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 20:12:20 +0000 (UTC) Cc: 15576@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 22:12:20 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 1VU07G-0003lF-QJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 22:12:19 +0200 Original-Received: from localhost ([::1]:43717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VU07G-0006xa-Cg for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2013 16:12:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VU077-0006xC-64 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 16:12:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VU071-0002Fq-6L for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 16:12:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VU071-0002Ff-2m for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 16:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VU070-0008H2-EB for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2013 16:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2013 20:12:02 +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.138134951331787 (code B ref 15576); Wed, 09 Oct 2013 20:12:02 +0000 Original-Received: (at 15576) by debbugs.gnu.org; 9 Oct 2013 20:11:53 +0000 Original-Received: from localhost ([127.0.0.1]:38536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VU06q-0008Gc-Fd for submit@debbugs.gnu.org; Wed, 09 Oct 2013 16:11:53 -0400 Original-Received: from mail-lb0-f177.google.com ([209.85.217.177]:64876) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VU06n-0008GR-Ug for 15576@debbugs.gnu.org; Wed, 09 Oct 2013 16:11:50 -0400 Original-Received: by mail-lb0-f177.google.com with SMTP id w7so1236958lbi.22 for <15576@debbugs.gnu.org>; Wed, 09 Oct 2013 13:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=n6aOCLIA56WYUaVOKU9jexzDx2IZ8ETDAfQBkaqEHb0=; b=0/MJy65627U5YxRwCV3Ae7BsvKNKrU+4jsUkBSdOLm+fN5Dbh9jcexCkiHdPVu9NKF DKW/6xPbL8Y799M6OiNcxHW47TULSBYoeDoSLSGu7R6DtxT3DRWKfRRUB/ZVOby2rde4 kWTXS9+M6pXY3i8tRLV99fgsPN4aCXdkUmF5gr1ruVEE4kf+DZkWs83J5Tcn6VVgySrZ bTfVhB0yqfW+6xKjIFltB0Wt9C5Qz+SZ+cs+ukN8q0pialawa2SROizDkMN9wZ5I3cDQ 3gaoKB/1u6UEDcT4mUILYvrbwhbbUkAmLNx63yiGK60gtc62A42Oh3cL5Y9WI1b1VKl0 Eh2A== X-Received: by 10.112.51.101 with SMTP id j5mr8595572lbo.17.1381349508930; Wed, 09 Oct 2013 13:11:48 -0700 (PDT) Original-Received: by 10.114.176.231 with HTTP; Wed, 9 Oct 2013 13:11:48 -0700 (PDT) In-Reply-To: <83zjqip7o4.fsf@gnu.org> 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:79120 Archived-At: >> 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.) I think "Select Buffer" is wrong simply because it is different from "Buffers". I mean, what is the point of showing one text (Buffers) when the menu is not selected, and another text (Select Buffer) when it is? I've not seen such a thing before anywhere, and I don't see what sense it does make. (the GUI "Buffer" menu of course does not exhibits such a strange behavior). >> 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. That's the current behavior, yes. > So this is by design, and won't change. Well, the current design is surely simpler, but IMO it is definitely not the best one. When I am navigating through the top level menus I obviously expect every header to stay where it was before it was selected. When I type C-f to reach the "Help" menu (from the Lisp-Interaction menu) and see that weird effect... mmm it clearly feels counter intuitive to me. >> 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. ?? What sense does it make to show that residual "elp" string at the right of the "Help" header? It is not the end of the world, but I really don't think it is TRT either. > 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. The mouse doesn't work here (on a TTY session). > IOW, this is a feature. I hope you to reconsider that, because IMHO it is a misfeature. >> 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. That's a pity. It would be nice to have those drop-down text menus also on GUI sessions. Then consider this point a feature request then (who knows, perhaps some day it might be implemented). > I tend to close this as not-a-bug. Any reasons not to? See above, but you are the maintainer, so you decide. -- Dani Moncayo