emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tip: tty mode-line popup menus


From: Eli Zaretskii
Subject: Re: Tip: tty mode-line popup menus
Date: Mon, 09 Dec 2024 16:45:46 +0200

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Date: Mon, 09 Dec 2024 09:01:46 +0100
> 
> When clicking on, say, the major mode indicator in the mode-line
> different things happen, depending on whether I'm using a GUI or tty
> Emacs (-nw):
> 
> - GUI (NS In may case): a popup menu opens on down-mpuse-1 and stays
>   open when I release the mouse button.
> 
> - Tty: a popup menu opens on down-mouse-1 and is closed as soon as I
>   release the mouse button. If the mouse is over a menu item[B releasing
>   the button also selects the menu item.

Yes.  TTY menus behave like the no-toolkit build of Emacs behaves,
because they share some of the code and the general design.

> I don't like the tty behavior.

You don't like it because you are used to how the various GUI toolkits
behave: they leave the menu displayed when you release the mouse
button.  But Emacs has always produced both kinds of behaviors,
depending on the toolkit (or lack thereof).  The reason for popping
down a menu on mouse release is that otherwise one needs a separate
event loop (which toolkits have and TTY mouse doesn't).

> It is fiddly with a track pad, which I normally use, leading to
> inadvertent menu selections. Furthermore, keyboard operation of the
> menu seems impossible.

??? Of course, it possible: type F10, and then use arrow keys to
navigate and RET to select.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]