From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: The new keymap functions Date: Sun, 14 Nov 2021 18:05:51 +1300 Message-ID: <51bff29f0aa8ef4b94abb307604ef118@webmail.orcon.net.nz> References: <87zgq8sfw3.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 14 06:07:24 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 1mm7jf-000AYX-SW for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 06:07:23 +0100 Original-Received: from localhost ([::1]:34478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mm7je-0000E3-9h for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Nov 2021 00:07:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm7iI-0007LR-6I for emacs-devel@gnu.org; Sun, 14 Nov 2021 00:05:58 -0500 Original-Received: from smtp-1.orcon.net.nz ([60.234.4.34]:39723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm7iF-0006wQ-5Y for emacs-devel@gnu.org; Sun, 14 Nov 2021 00:05:57 -0500 Original-Received: from [10.253.37.70] (port=55580 helo=webmail.orcon.net.nz) by smtp-1.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1mm7iC-000809-3k; Sun, 14 Nov 2021 18:05:52 +1300 Original-Received: from ip-115-69-175-77.kinect.net.nz ([115.69.175.77]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Sun, 14 Nov 2021 18:05:51 +1300 In-Reply-To: <87zgq8sfw3.fsf@gnus.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- Received-SPF: pass client-ip=60.234.4.34; envelope-from=psainty@orcon.net.nz; helo=smtp-1.orcon.net.nz X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=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.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:279374 Archived-At: On 2021-11-13 19:56, Lars Ingebrigtsen wrote: > The most difficult thing here is naming, of course, but after > much discussion, I've settled on these: > > keymap-set > keymap-local-set > keymap-global-set > keymap-unset > keymap-local-unset > keymap-global-unset Any particular argument against putting the global/local last? keymap-set keymap-set-local keymap-set-global keymap-unset keymap-unset-local keymap-unset-global I haven't pondered it enough to be opinionated, but I feel like there's some benefits to having common naming prefixes regardless of the keymap component. I suspect you already considered this, and chose to go the other way? -Phil