From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexandre Garreau Newsgroups: gmane.emacs.devel Subject: Re: [External] : New key binding syntax Date: Fri, 19 Nov 2021 12:33:32 +0100 Message-ID: <3597544.hBxPqSa7jC@galex-713.eu> References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <2983368.DOhyMDKghp@galex-713.eu> <83ee7cwq3l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5830"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 19 12:36: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 1mo2C7-0001G9-T2 for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 12:36:39 +0100 Original-Received: from localhost ([::1]:42772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo2C6-0003Dk-1P for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Nov 2021 06:36:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo29K-00085E-Bc for emacs-devel@gnu.org; Fri, 19 Nov 2021 06:33:46 -0500 Original-Received: from [2a00:5884:8305::1] (port=36696 helo=galex-713.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo29H-00064M-PP; Fri, 19 Nov 2021 06:33:44 -0500 Original-Received: from gal by galex-713.eu with local (Exim 4.92) (envelope-from ) id 1mo297-0000vI-CG; Fri, 19 Nov 2021 12:33:33 +0100 In-Reply-To: <83ee7cwq3l.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8305::1 (failed) Received-SPF: pass client-ip=2a00:5884:8305::1; envelope-from=galex-713@galex-713.eu; helo=galex-713.eu X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:279743 Archived-At: Le vendredi 19 novembre 2021, 08:40:14 CET Eli Zaretskii a =C3=A9crit : > > From: Alexandre Garreau > > Date: Fri, 19 Nov 2021 07:05:12 +0100 > > Cc: Stefan Kangas , drew.adams@oracle.com > >=20 > > > I am against making this change in Emacs. > >=20 > > Why? everybody does that now and that=E2=80=99s strictly more recogniza= ble for > > most of people (especially newcomers) nowadays >=20 > Does that mean you want us to go through all our manuals and the > tutorial, and change C-x and C-M-y into Ctrl+x and Ctrl+Alt+y? And > then change all the key-binding APIs to accept the above notation as > well? Because if we don't do that, there will be two very different > ways of specifying key sequences, and that will confuse newcomers even > more. Yes, and as I said it would be even more nice to have a special syntax/ command in texinfo to specify keysequences, so they can be=20 programmatically all be changed very easily, in case the user rebinds=20 them, so not only emacs=E2=80=99 C-h is updated, but the info manual as wel= l (and=20 that could be useful as well for any software whose keys can and commonly=20 are rebound) So it would not only be useful to substitute a - with a +, but also whole=20 key prefixes or keysequences with others