From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: New key binding syntax Date: Sun, 07 Nov 2021 05:48:44 +0100 Message-ID: <87wnlkmuz7.fsf@zoho.eu> References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <52799093.VymdKvaGTe@galex-713.eu> <2190956.xXoMH3TJnQ@galex-713.eu> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25032"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:hsYuQOmdrPIeq+NazlbFtHV3WS0= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 07 05:50:06 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 1mja84-0006K4-3m for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 05:50:04 +0100 Original-Received: from localhost ([::1]:59568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mja82-0005z1-GC for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 00:50:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mja6x-0005Hv-Ml for emacs-devel@gnu.org; Sun, 07 Nov 2021 00:48:55 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:48720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mja6v-00074q-GL for emacs-devel@gnu.org; Sun, 07 Nov 2021 00:48:55 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mja6t-0004tG-9c for emacs-devel@gnu.org; Sun, 07 Nov 2021 05:48:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_NONE=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:278913 Archived-At: Richard Stallman wrote: > Introducing `kbd' enabled us to support a new, incompatible > syntax alongside the original syntax. If we decide now on > a syntax that is not upward compatible with `kbd', we could > support it using a new function, perhaps `key'. Uhm, excuse my ignorance but why should we have so many? You mention `kbd' and hints at a new "key" ... and in my config files I have, e.g. (global-set-key "\C-ok" #'end-of-buffer) (global-set-key [C-i] #'new-message) That is 3, would be 4, and I'm not sure I exhausted the list even ... So not a rhetorical question, why isn't there just _one_ representation in Emacs and then the outside world, be it the WM or terminal emulator or virtual terminal or terminal multiplexer or DE or Window System or OS - all that can deal with it, and/or let Emacs deal with it any way they like? Only from here, it would always look the same? -- underground experts united https://dataswamp.org/~incal