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 10:25:52 +0300 Message-ID: <8335p4m5j3.fsf@gnu.org> References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <20211004081727.4F24921048@vcs0.savannah.gnu.org> <83wnmipbkj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25539"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefankangas@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 14 09:27:03 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 1mav8p-0006QF-3Y for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 09:27:03 +0200 Original-Received: from localhost ([::1]:40338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mav8o-0005Re-3N for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Oct 2021 03:27:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mav8D-0004kt-9q for emacs-devel@gnu.org; Thu, 14 Oct 2021 03:26:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36864) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mav8D-00019C-11; Thu, 14 Oct 2021 03:26:25 -0400 Original-Received: from [87.69.77.57] (port=2351 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 1mav7j-0004DN-Jj; Thu, 14 Oct 2021 03:26:13 -0400 In-Reply-To: (message from Richard Stallman on Wed, 13 Oct 2021 18:36:59 -0400) 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:276971 Archived-At: > From: Richard Stallman > Cc: stefankangas@gmail.com, larsi@gnus.org, emacs-devel@gnu.org > Date: Wed, 13 Oct 2021 18:36:59 -0400 > > > > Any chance we could make these new macros use `kbd' by default? > > > Careful: use of kbd in code that's preloaded fails bootstrap! > > It's probably not hard to arrange to give a compiler warning for use > of `kbd' in a file that's preloaded. That's too late: the first stage of bootstrap loads the preloaded files as *.el. Besides, relying on byte-compiler warnings for this stuff is not a very efficient idea: since the bootstrap takes several minutes on even a fast machine, people usually turn their attention to other places and tasks while the build runs, and so will miss the warning.