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: xterm [menu] key definition Date: Thu, 26 Aug 2021 16:48:56 +0300 Message-ID: <835yvstiyf.fsf@gnu.org> References: <20210819024728.kgnf6jmpakqdto4p.ref@Ergus> <20210819024728.kgnf6jmpakqdto4p@Ergus> <87mtp71i4s.fsf@mail.linkov.net> <20210824164036.caohbap24666ij35@Ergus> <20210824232033.ksesfe3ewflbsv63@Ergus> <83o89lvju4.fsf@gnu.org> <83o89ku23n.fsf@gnu.org> <20210826125250.mf6rc2nourtm6rdo@Ergus> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16302"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 26 15:54:13 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 1mJFpa-0003w4-QW for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Aug 2021 15:54:10 +0200 Original-Received: from localhost ([::1]:35366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJFpZ-0005KH-La for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Aug 2021 09:54:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJFks-0005XY-9h for emacs-devel@gnu.org; Thu, 26 Aug 2021 09:49:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36074) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJFkr-0001yv-Kx; Thu, 26 Aug 2021 09:49:17 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3385 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 1mJFkr-0007Q3-8B; Thu, 26 Aug 2021 09:49:17 -0400 In-Reply-To: <20210826125250.mf6rc2nourtm6rdo@Ergus> (message from Ergus on Thu, 26 Aug 2021 14:52:50 +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:273030 Archived-At: > Date: Thu, 26 Aug 2021 14:52:50 +0200 > From: Ergus > Cc: Stefan Monnier , emacs-devel@gnu.org, > juri@linkov.net > > I saw your latest change in d54ffa25bd297f9bc5791 to bind the > context-menu to [apps] on windows. I am wondering because AFAIK it is > the same physical key right? > > Should we do an if-else maybe? I considered that, but decided against it: I don't know if someone out there does have a key on their keyboard, and if they do, I see no reason not to open a menu when they hit that key. Having a function bound to a key that doesn't exist never does any harm, we have quite a few of those in Emacs.