From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Tip: tty mode-line popup menus Date: Mon, 9 Dec 2024 13:40:05 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38875"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.12 (2023-09-09) Cc: Emacs Devel To: Gerd =?utf-8?B?TcO2bGxtYW5u?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 09 11:41:31 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 1tKbCl-000A04-L6 for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Dec 2024 11:41:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKbBf-0004sZ-8p; Mon, 09 Dec 2024 05:40:23 -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 1tKbBX-0004pe-3b for emacs-devel@gnu.org; Mon, 09 Dec 2024 05:40:16 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKbBV-0000oF-4v for emacs-devel@gnu.org; Mon, 09 Dec 2024 05:40:14 -0500 Original-Received: from localhost ([::ffff:41.75.176.172]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000081F8A.000000006756C909.0000700D; Mon, 09 Dec 2024 03:40:08 -0700 Mail-Followup-To: Gerd =?utf-8?B?TcO2bGxtYW5u?= , Emacs Devel Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:326240 Archived-At: * Gerd Möllmann [2024-12-09 11:04]: > Just a tip I wanted to share. Maybe some tty Emacs user finds it useful. > Couldn't find anything mentioned on the internet. > > 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. On my side, when I click on menu, it stays open. -- Jean Louis