From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: PROPOSAL: Repurpose one key and reserve it for third-party packages Date: Wed, 10 Feb 2021 08:00:05 -0500 Message-ID: References: <7ef75c33936136eb3a20@heytings.org> <87czxazbhr.fsf@melete.silentflame.com> <871rdqfaix.fsf@ericabrahamsen.net> <87mtwd42ck.fsf@melete.silentflame.com> <3966473cc18953bb033c@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5715"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 10 14:02:33 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 1l9p8b-0001LA-Bq for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Feb 2021 14:02:33 +0100 Original-Received: from localhost ([::1]:54664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9p8a-0005XL-6b for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Feb 2021 08:02:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9p6u-0004cH-6O for emacs-devel@gnu.org; Wed, 10 Feb 2021 08:00:49 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42750) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9p6t-0007Un-NS; Wed, 10 Feb 2021 08:00:47 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1l9p6D-00014U-6S; Wed, 10 Feb 2021 08:00:05 -0500 In-Reply-To: <3966473cc18953bb033c@heytings.org> (message from Gregory Heytings on Wed, 10 Feb 2021 11:07:12 +0000) 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:264272 Archived-At: > Suppose we reserve one key for third-party packages. Let's refer to > that key as C-α, to avoid specifying which key is chosen. > > Various packages will set up their own bindings for it. If you load > more than one such package, which package's bindings will you get? How > do you get the ones you want? This is something that should be left to packages. Org-mode would bind, say, C-α a, C-α c and C-α l, or perhaps C-α o a, C-α o c and C-α o l; Magit would bind C-α g and C-α M-g, or perhaps C-α g g and C-α g f; and so forth. There will be conflicts, of course, but only occasionally, and in those cases users would have to do something to resolve the conflict. Wasn't C-? supposed to be a global keybinding? org-mode speciic bindings don't make sense outside of org-mode and mode specific keybindings already have a set that is already reserved for them. The issue as I understood it was that there are some modes that have bindings that make sense in a global context -- e.g., Magit vs. vc-mode where the specific mode of the buffer doesn't matter.