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: New Context Menu Date: Wed, 18 Aug 2021 19:50:42 +0300 Message-ID: <83a6le4rz1.fsf@gnu.org> References: <20210818120834.i3orh535tb2enpos.ref@Ergus> <20210818120834.i3orh535tb2enpos@Ergus> <8335r7546s.fsf@gnu.org> <20210818124309.wvd4vhzv6sgsujdh@Ergus> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29287"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, juri@linkov.net To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 18 18:51:22 2021 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 1mGOmg-0007NF-6S for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 18:51:22 +0200 Original-Received: from localhost ([::1]:38444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGOme-0001jP-Vm for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Aug 2021 12:51:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGOm3-0000Jj-Nm for emacs-devel@gnu.org; Wed, 18 Aug 2021 12:50:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56616) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGOm3-0007JH-Dp; Wed, 18 Aug 2021 12:50:43 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2128 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGOm3-0004s9-13; Wed, 18 Aug 2021 12:50:43 -0400 In-Reply-To: <20210818124309.wvd4vhzv6sgsujdh@Ergus> (message from Ergus on Wed, 18 Aug 2021 14:43:09 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:272591 Archived-At: > Date: Wed, 18 Aug 2021 14:43:09 +0200 > From: Ergus > Cc: juri@linkov.net, emacs-devel@gnu.org > > >> Could we add an option to avoid this and have the same interaction > >> behavior than in gui please?: mouse-3 activates the menu, a click over > >> an option selects it and a click outside the menu hides the menu > >> > >> I know this may be something external to emacs itself; maybe it is how > >> xterm menu behaves, but probably there is a way to go around this > >> without excessive complexity. > > > >I'm quite sure it's how the mouse support behaves, and has nothing to > >do with what Juri did. You should see the same behavior in any menu > >on that display. > > > >It works for me as you expect on the w32 console. > > > :( I supposed that. It will be hard to have such a functionality in > xterm then. And no other terminal works completely fine with emacs for > me. Actually, I take that back. The reason for what you see is that the menu is popped by down-mouse-3, not by mouse-3. So if we can arrange for optionally doing this with mouse-3 (why isn't that the default, btw?), or if you could do that in your customizations, you should be able to have the behavior you want.