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: Thu, 19 Aug 2021 18:48:30 +0300 Message-ID: <83o89t1lm9.fsf@gnu.org> References: <20210818120834.i3orh535tb2enpos.ref@Ergus> <20210818120834.i3orh535tb2enpos@Ergus> <87r1epzznt.fsf@mail.linkov.net> <83zgtd2762.fsf@gnu.org> <20210819141123.j44oljyix3pjvthz@Ergus> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30361"; 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 Thu Aug 19 17:49:49 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 1mGkIc-0007WV-5p for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Aug 2021 17:49:46 +0200 Original-Received: from localhost ([::1]:43878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGkIb-0003gC-6r for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Aug 2021 11:49:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGkHj-0001n1-Qs for emacs-devel@gnu.org; Thu, 19 Aug 2021 11:48:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51164) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGkHi-0006hO-Dd; Thu, 19 Aug 2021 11:48:50 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3146 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 1mGkHi-00085c-0Y; Thu, 19 Aug 2021 11:48:50 -0400 In-Reply-To: <20210819141123.j44oljyix3pjvthz@Ergus> (message from Ergus on Thu, 19 Aug 2021 16:11:23 +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:272676 Archived-At: > Date: Thu, 19 Aug 2021 16:11:23 +0200 > From: Ergus > Cc: Juri Linkov , emacs-devel@gnu.org > > >> What would a good key to bind such command? Maybe 'S-'? > > > >Probably. Or C-M-. > > > Hi Eli: > > There is the [menu] button. It is unused at least in xterm because > it is not bound properly (I sent a message on yesterday). > > By default [menu] is bound to the same than M-x, so it is a good trade > of to rebind it in the context-menu map, so by default the current > behavior is not affected. But also, because it will provide the same > behavior than other user interfaces around. > > In other terminals (urxvt) such button sends S-, that is not bound > to anything either. And some others (gnome-terminal) intercept the > binding before reaching emacs... so, I think is a good trade off with > minimal impact. It's okay to bind the key where it's available. But many terminals don't have it, so we should _also_ bind it to some common enough key to make it available to everyone.