all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Petteri Hintsanen <petterih@iki.fi>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Tip: tty mode-line popup menus
Date: Mon, 09 Dec 2024 23:54:02 +0200	[thread overview]
Message-ID: <87msh44j5x.fsf@iki.fi> (raw)
In-Reply-To: <m2cyi1709h.fsf@gmail.com> ("Gerd Möllmann"'s message of "Mon, 09 Dec 2024 09:01:46 +0100")

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> I don't like the tty behavior. It is fiddly with a track pad, which I
> normally use, leading to inadvertent menu selections.

There is a similar kind of behavior with normal (pull-down) tty menus as
well.  If you do:

 $ emacs -nw Q
 M-x xterm-mouse-mode RET
 {click on Tools menu}
 {click again on Tools menu (do not move the mouse between clicks)}

then you will get grep command, and I'd say inadvertently.  (Obviously
this was on xterm, but I suspect the same happens on other ttys.)

But if you move the mouse between clicks, even slightly, then the menu
selection is cleared, and you won't get grep command.  The menu is
simply closed, as I'd expect.

This has been itching me for quite some time, but not sufficiently
enough to make me write a patch.  I'm not sure if this is a bug or
feature, anyway.

Otherwise I think tty menus are great.

Thanks,
Petteri



  parent reply	other threads:[~2024-12-09 21:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-09  8:01 Tip: tty mode-line popup menus Gerd Möllmann
2024-12-09 10:40 ` Jean Louis
2024-12-09 14:58   ` Eli Zaretskii
2024-12-09 14:45 ` Eli Zaretskii
2024-12-09 15:15   ` Gerd Möllmann
2024-12-09 16:24     ` Eli Zaretskii
2024-12-09 21:54 ` Petteri Hintsanen [this message]
2024-12-10  3:32   ` Gerd Möllmann
2024-12-09 22:59 ` Stefan Kangas
2024-12-10  6:14   ` Gerd Möllmann
2024-12-10  9:32     ` Gerd Möllmann
2024-12-10 10:09       ` Gerd Möllmann
2024-12-10 13:15         ` Gerd Möllmann

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=87msh44j5x.fsf@iki.fi \
    --to=petterih@iki.fi \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    /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.