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: master 859190f 2/3: Convert some keymaps to defvar-keymap Date: Thu, 14 Oct 2021 09:48:00 +0300 Message-ID: <838rywm7a7.fsf@gnu.org> References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <20211004081727.4F24921048@vcs0.savannah.gnu.org> <871r4qcs8s.fsf@gnus.org> <87o87ubcnl.fsf@gnus.org> <87h7dm9en7.fsf@gnus.org> <818f9907c2b1fe8b54b1@heytings.org> <83tuhlnkxm.fsf@gnu.org> <818f9907c2f359a71f49@heytings.org> <83czo9nj4g.fsf@gnu.org> <818f9907c244b9db0bea@heytings.org> <834k9lnd2i.fsf@gnu.org> <818f9907c2dff3b49971@heytings.org> <83k0ign3zj.fsf@gnu.org> <818f9907c26fb6f0233a@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="473"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefankangas@gmail.com, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 14 08:49:28 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 1mauYR-000ATG-R7 for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 08:49:27 +0200 Original-Received: from localhost ([::1]:55642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mauYQ-0001ih-2W for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 02:49:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mauX6-0008Hv-9f for emacs-devel@gnu.org; Thu, 14 Oct 2021 02:48:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35904) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mauX5-0005gc-SF; Thu, 14 Oct 2021 02:48:03 -0400 Original-Received: from [87.69.77.57] (port=3851 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 1mauX4-0000et-LT; Thu, 14 Oct 2021 02:48:03 -0400 In-Reply-To: <818f9907c26fb6f0233a@heytings.org> (message from Gregory Heytings on Wed, 13 Oct 2021 21:53:40 +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:276965 Archived-At: > Date: Wed, 13 Oct 2021 21:53:40 +0000 > From: Gregory Heytings > Cc: larsi@gnus.org, stefankangas@gmail.com, emacs-devel@gnu.org > > > I understand, but edmacro is not preloaded, and files we do preload, > > like bindings.el, call define-key all over the place. Letting all those > > calls fail, albeit silently, would not be useful, not if we want to be > > able to use 'kbd' syntax freely in preloaded files. So I'm not sure I > > understand how your proposal will work in practice. > > The question (at least as I understood is) was to make it possible for > users (in their init files) and third-party packages to use a more > readable syntax for key bindings, without wrapping each key binding in a > call to kbd. No, we wanted ourselves to be able to use that, not just let users do it in their init files. > A second step would be to preload edmacro-parse-keys, to make it possible > to use the kbd syntax in other preloaded files too. And that, from my POV, is a main drawback of this proposal: preloading edmacro will pull in some non-trivial code and support libraries, which is best avoided.