From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Moving kbd to subr.el Date: Tue, 19 Oct 2021 16:05:04 +0000 Message-ID: <27b660e5a87f359aec13@heytings.org> References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <874k9juy0r.fsf@gnus.org> <87mtnbtimj.fsf@gnus.org> <87wnmd13ny.fsf@gnus.org> <87sfx10xs6.fsf@gnus.org> <87h7dfpjn3.fsf@gnus.org> <31b2f1e94178d73e5f05@heytings.org> <87czo3pgs1.fsf@gnus.org> <31b2f1e9412d60db82df@heytings.org> <87o87moopl.fsf@gnus.org> <19fca5d18b63e6eff5de@heytings.org> <87wnmaiida.fsf@gnus.org> <87zgr6gw9s.fsf@gnus.org> <87r1chhhkh.fsf@gnus.org> <871r4hf83m.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24579"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , Stefan Monnier , Emacs developers To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 19 18:24:38 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 1mcrun-00066Z-Gm for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Oct 2021 18:24:37 +0200 Original-Received: from localhost ([::1]:60832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcrul-0006Gv-Ux for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Oct 2021 12:24:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcrc0-0003Lb-UA for emacs-devel@gnu.org; Tue, 19 Oct 2021 12:05:13 -0400 Original-Received: from heytings.org ([95.142.160.155]:58198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcrbv-000666-JT for emacs-devel@gnu.org; Tue, 19 Oct 2021 12:05:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1634659505; bh=YsrHlzreIBRGv/3ukVF1t7Q4VfvoHBWrmX+qL+aKrDo=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=SZWaSvOGlFqIHrbOsMkoIauHPWa4KFWjGhK7Yt583VEHKpYsahe9JTDnkJ+qTeK3O ZNSkcFeReaHWsnxLkvhtZOlBwF59oyFnn5Q9mNFU8cd8KSS+4ZMts7UFAroeBNRXem 7+bn3Ov2fbQK3Ipt3sxbxQCUUiqKf33VXbPtf7uKuBfa+hOVFUYP6BKxEjHGqWnkNF RrUdf2boKedlSKuiaShz/0hNylpRTOqM/xQzr2h1W0Y0UDIUxL0WWZ98sQUmfszP7j xgt3pEFWcLs5teAZZKpA2qWlKRDegsrWLVCCT2SLajTEA3mlmI3Cz2M74a3uHFOT+N YYqel4of1CiZw== In-Reply-To: <871r4hf83m.fsf@gnus.org> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, 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.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:277386 Archived-At: > > I think Stefan K suggested making a whole new set of all these functions > that would only understand the new syntax. I didn't think that would be > doable, because there's so many of them, but I didn't actually count. > It's not only the number of functions that counts, it's the number of times they are used. define-key only is used ~15000 times in core and ELPA. > > So, new random thought: > > kbd-keymap > kbd-define > kbd-set-globally > kbd-unset-globally > kbd-set-locally > kbd-unset-locally > kbd-lookup > As I already said earlier, that's unreasonable. It's clear that at some point the old functions will be deprecated, so in the end it puts the burden on all users and package authors to change their code at many places. When it is possible to ask instead a few users and package authors to change a few characters at a few places. And I bow out of this thread, somehow I feel that my contributions are not welcome anymore.