From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#58224: 29.0.50; "make bootstrap" spuriously warns: "comp.el newer than byte-compiled file" Date: Sun, 2 Oct 2022 11:32:29 +0000 Message-ID: References: <83fsg7bnt0.fsf@gnu.org> <83r0zqahqj.fsf@gnu.org> <83y1ty1o7r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36384"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, stefankangas@gmail.com, 58224@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 13:33:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oexDf-0009FS-Th for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 13:33:15 +0200 Original-Received: from localhost ([::1]:35908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oexDe-0007rx-Qh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 07:33:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oexDS-0007ro-Qp for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 07:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oexDS-0003zy-Is for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 07:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oexDS-00019j-5S for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 07:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58224 X-GNU-PR-Package: emacs Original-Received: via spool by 58224-submit@debbugs.gnu.org id=B58224.16647103594414 (code B ref 58224); Sun, 02 Oct 2022 11:33:02 +0000 Original-Received: (at 58224) by debbugs.gnu.org; 2 Oct 2022 11:32:39 +0000 Original-Received: from localhost ([127.0.0.1]:46362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexD5-000198-Gs for submit@debbugs.gnu.org; Sun, 02 Oct 2022 07:32:39 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:53591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oexD3-00018u-W9 for 58224@debbugs.gnu.org; Sun, 02 Oct 2022 07:32:38 -0400 Original-Received: (qmail 90545 invoked by uid 3782); 2 Oct 2022 13:32:30 +0200 Original-Received: from acm.muc.de (p2e5d502a.dip0.t-ipconnect.de [46.93.80.42]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 02 Oct 2022 13:32:30 +0200 Original-Received: (qmail 18875 invoked by uid 1000); 2 Oct 2022 11:32:29 -0000 Content-Disposition: inline In-Reply-To: <83y1ty1o7r.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244202 Archived-At: Hello, Eli. On Sun, Oct 02, 2022 at 14:04:08 +0300, Eli Zaretskii wrote: > > Date: Sun, 2 Oct 2022 10:43:44 +0000 > > Cc: stefankangas@gmail.com, 58224@debbugs.gnu.org, acm@muc.de > > From: Alan Mackenzie > > > Instead of inventing a new value that overrides the non-nil value, why > > > not simply reset the variable to nil? > > force-load-messages is nil by default, and currently isn't used at all > > by Emacs. It seems to be a pure debugging variable. > > The NOMESSAGE argument to Fload when non-nil, causes the unwanted > > message: > > Source file `foo.el' newer than byte-compiled file; using older file > > .. When NOMESSAGE is nil, we get instead > > Loading foo.elc (compiled; note, source file is newer)... > > .. Whichever setting of NOMESSAGE and force-load-messages we use, we get > > one of the above messages displayed. So, I'm proposing using a new > > value 'never for force-load-messages to mean display neither of these > > messages. > I don't want to complicate the public Lisp API because we have a > singular situation at some point of the bootstrap, and for minor > aesthetic reasons at that; that is the tail wagging the dog. So let's > fix this more subtly. I agree. > How about recognizing (inside Fload) a specific time stamp of the > older file we use (we set it to the beginning of the Epoch, right?), > and suppressing the message in that case? :-) That's a nice idea. I'll see if I can get that done today. Thanks! -- Alan Mackenzie (Nuremberg, Germany).