From: Dani Moncayo <dmoncayo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 15576@debbugs.gnu.org
Subject: bug#15576: 24.3.50; Some minor issues regarding the new TTY menus
Date: Wed, 9 Oct 2013 22:11:48 +0200 [thread overview]
Message-ID: <CAH8Pv0i3YEKmRpo=j0G=qpMMBu0dcRMQw0o1_TrB0AwdbuSZow@mail.gmail.com> (raw)
In-Reply-To: <83zjqip7o4.fsf@gnu.org>
>> 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
next prev parent reply other threads:[~2013-10-09 20:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 19:06 bug#15576: 24.3.50; Some minor issues regarding the new TTY menus Dani Moncayo
2013-10-09 19:26 ` Eli Zaretskii
2013-10-09 20:11 ` Dani Moncayo [this message]
2013-10-09 20:26 ` Eli Zaretskii
2013-10-11 18:10 ` Dani Moncayo
2013-10-10 0:52 ` Stefan Monnier
2013-10-10 19:07 ` Dani Moncayo
2013-10-10 20:14 ` Drew Adams
2013-10-10 21:04 ` Stefan Monnier
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='CAH8Pv0i3YEKmRpo=j0G=qpMMBu0dcRMQw0o1_TrB0AwdbuSZow@mail.gmail.com' \
--to=dmoncayo@gmail.com \
--cc=15576@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.