From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Petteri Hintsanen Newsgroups: gmane.emacs.devel Subject: Re: Tip: tty mode-line popup menus Date: Mon, 09 Dec 2024 23:54:02 +0200 Message-ID: <87msh44j5x.fsf@iki.fi> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28821"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 09 22:55:03 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tKliZ-0007Ly-9L for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Dec 2024 22:55:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKlhn-0004OJ-2N; Mon, 09 Dec 2024 16:54:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKlhl-0004Nz-0A for emacs-devel@gnu.org; Mon, 09 Dec 2024 16:54:13 -0500 Original-Received: from mail-auth.kapsi.fi ([91.232.154.24] helo=mail.kapsi.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKlhi-0003mg-61 for emacs-devel@gnu.org; Mon, 09 Dec 2024 16:54:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3YtUQIk8BOYxy0iF+1SUJnJ/mxXCX++8sjWRZsD6LZo=; b=gSLj3tXBN5Cmr7ZFhwwzIdeOxd 7vvpNxbKh95SxKOZ6kacLViMizlzAEHHkr1pmDdNbI9Dp7IuNZiOItSW4S6uaXyzDlf6wODKmXQaD kR4idckRCrvFCmIMe681kNmphwmIJKPfVElbRzE2i2i7+8o+CuLLy4xAtHdrwgTPgv7mhAeZ+YRys BBm55PkPD9WqU+plqSAf1oLwojnnFQJXHMdW348WuiVECDkeVkQSrE2V5mXZheskexILleymFUYz0 oW1EiUfNWMaY81fWlYvucWEAac/MNIAk2ZGz6j7woWbsOGktn+4qMRwzs2x8xR17nliie90u91Mwh XzZDZMOg==; Original-Received: from 2001-14ba-46ff-d500-421-a525-216a-fda3.rev.dnainternet.fi ([2001:14ba:46ff:d500:421:a525:216a:fda3] helo=romeo) by mail.kapsi.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tKlhb-008Dis-0i; Mon, 09 Dec 2024 23:54:03 +0200 In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Mon, 09 Dec 2024 09:01:46 +0100") X-SA-Exim-Connect-IP: 2001:14ba:46ff:d500:421:a525:216a:fda3 X-SA-Exim-Mail-From: petterih@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Received-SPF: pass client-ip=91.232.154.24; envelope-from=phintsan@kapsi.fi; helo=mail.kapsi.fi X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326257 Archived-At: Gerd M=C3=B6llmann 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