From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tip: tty mode-line popup menus Date: Mon, 09 Dec 2024 18:24:45 +0200 Message-ID: <86ikrsddte.fsf@gnu.org> References: <86y10odied.fsf@gnu.org> 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="21026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org 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 17:26:00 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 1tKga8-0005I3-Dq for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Dec 2024 17:26:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKgZ0-0007uT-Ry; Mon, 09 Dec 2024 11:24:50 -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 1tKgYz-0007uE-1q for emacs-devel@gnu.org; Mon, 09 Dec 2024 11:24:49 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKgYy-0002z0-Py; Mon, 09 Dec 2024 11:24:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ng+RO7JCYvjzJWzShGwuvZGFM3/p2zf7rm2YLblPDkc=; b=FeBUuapAcjcJCis/o3bj Qz25dIrUtEq1eDCwlxReb4cHQTaU0DwJiRtU2pFp072hAUK/F1e//ZIm2MoBiaDktgjRrmvEyGFHm QACjzzbJC76FSHGUvxtqNbxwxwWgFCmYeCJ8QLk/9rTeW7CijYxHUmd9tij/kgzotjOApLnYYoAv2 OjIr0rN66BSj6q2pcmQm8xlVC6vEB5pxf3RA+7ukD+SUQ8rOY+j4SHbq3+hdYWn5Ix5YIM9JkDdeJ /pHglBJeo0ikxIvjSH5M6HWvBlu8nh9g1RIjGi06Mk60+s+1+2OdlRSm2qZxp46kr9W9dtM/jx5IO WAUqjmZp2TCJ0g==; In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Mon, 09 Dec 2024 16:15:54 +0100) 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:326253 Archived-At: > From: Gerd Möllmann > Cc: emacs-devel@gnu.org > Date: Mon, 09 Dec 2024 16:15:54 +0100 > > Eli Zaretskii writes: > > >> 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. > > Doesn't work for me. > > Without doing the changes I posted, I down-mouse-1 on something in the > mode-line having a menu. When I release the mouse, the menu is gone, as > I described. When I press F10, keeping the mouse button pressed, the > menu also disappears. > > With the changes applied, mouse-1 opens the menu, and I then can use > cursor keys, RET, and so on. No F10 needed. Sorry, it's my misunderstanding: I didn't realize you were talking about a menu opened from the mode line. All the other menus, including the one popped up by C-mouse-1, do support keyboard navigation.