From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: Concern about new binding. Date: Fri, 05 Feb 2021 10:38:53 +0100 Message-ID: <878s82esdi.fsf@fastmail.fm> References: <87zh0mmr54.fsf@gmail.com> <87y2g5smya.fsf@gmail.com> <4FF55FBF-573D-4A70-B3FC-682CA25B7ECB@gnu.org> <83lfc53whk.fsf@gnu.org> <20210203180142.seu6o3i6u7jhkyrh@Ergus> <83eehx3to5.fsf@gnu.org> <20210203221628.xgvvxjvh56gyswba@Ergus> <20210204070033.pm4ido4hq7a6twif@Ergus> <83sg6brhyg.fsf@gnu.org> <5588fb25805d486be704@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12646"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.7; emacs 27.1.91 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 05 11:15:41 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 1l7y9N-0003Cn-OL for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 11:15:41 +0100 Original-Received: from localhost ([::1]:45192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7y9E-00053H-Hs for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 05:15:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7y5f-0008CA-4T for emacs-devel@gnu.org; Fri, 05 Feb 2021 05:11:51 -0500 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:35565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7y5Y-0006CK-B1 for emacs-devel@gnu.org; Fri, 05 Feb 2021 05:11:50 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 17C67745 for ; Fri, 5 Feb 2021 05:11:42 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 05 Feb 2021 05:11:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:date:in-reply-to:message-id :mime-version:content-type; s=fm2; bh=9OgJw5bXIWJEdxZ7+nT9S1rFaS hHUy7OsdRW/my9Pis=; b=Ugns6+feudQS8MJXkbZuzZM1mzh3yyDkxhc+gIU8yU nPnjnsysSqinBzp3hr4iVTlp47b7cH4sz1YuuMUyc+DPcqEBnp+dmHGrV0xmE3Cl mNcb0LvthDTYOI6NaRNVt17DvF2y0tMSQ30LNEx35oM7RApuvU/VooeAbEaSwKQ2 Lc4mDs1E5qFqWexcA6I11LxzxIyqKut0LEqx7Rx2XPhr6RF/newZXethuk5HkuWv PxpnkdmdxSCHC3iEjGzAUPi/WWQR1cHoM7wtpmPDG9y2klzm/HnX04ENFN4O6nSz pqoKAPjISBWKamCOYMpBJqTLaVWOBHr9w044moKJE4YQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=9OgJw5 bXIWJEdxZ7+nT9S1rFaShHUy7OsdRW/my9Pis=; b=ttPZPrdcnK14sH43C7IuaE agnVe0r+5ybQ0DrKyI/aGQPJcYgTxGrTC4OftTIBQ+fO+Byez3g62/mZdGUPl+6V fha8RFOZSVs5J6oIkHsTbJtRSJpHsQg2c6B3gp/ynIV9jLDY/7RlsYP502upfuYz l2K4q8O/fxxrZPPEKww1m5LKUsppMAPSJOurBY1ZODui1nn/FWwo5N02r2XNHI0/ 0Xn+uY9s2fTFSrtgtMw052AKFnR1mw+XZgreB3Pj5R/VmPb64enqFw2XpAVyDCLX qiMy5GGUx9ZBmPi1cPcjmEnY2VlSNZB86mPwCTma9CoHNTBTI15ynYXhboG1KKqg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeeigddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttdertd dtredtnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgv rhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpedviefhteeuveekud etheduieehvdelgfeijeehvdetfeegleelhefhjeduieejveenucfkphepleehrdeluddr udeljedrheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5bc539.dynamic.kabel-deutschland.de [95.91.197.57]) by mail.messagingengine.com (Postfix) with ESMTPA id 3D845240065 for ; Fri, 5 Feb 2021 05:11:40 -0500 (EST) In-reply-to: <5588fb25805d486be704@heytings.org> Received-SPF: pass client-ip=64.147.123.19; envelope-from=joostkremers@fastmail.fm; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:263964 Archived-At: On Fri, Feb 05 2021, Gregory Heytings wrote: > It seems to me that the root problem of this thread, and similar ones in > the past months, is the lack of a convention for external packages in > `(elisp) Key Binding Conventions'. There is a convention for users, there > are conventions for major and minor modes, but there is no convention for > external packages such as Magit, Drew's packages, and so forth. > Consequently, the only solution for such packages is to use the currently > empty slots, Actually, there is another option, which AFAIK has been the unspoken "rule" for such cases: leave the binding up to the user. What we're talking about here are basically applications that run inside Emacs. They have an entry point, i.e., a function that the user can run to start the application (some may have multiple entry points, but that doesn't change the argument), which users can bind as they see fit. That's what the `C-c ` keys are for. I mean, even applications that come with Emacs (Gnus, Rmail, Ediff come to mind), don't have standard key bindings. Perhaps a better way to update the documented key binding conventions is to add the rule that packages should generally not create global key bindings. Reserving keys for external packages won't solve the fundamental problem here: two external packages may still decide to use the same key bindings, causing similar conflicts for users that install both. -- Joost Kremers Life has its moments