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.bugs Subject: bug#58224: 29.0.50; "make bootstrap" spuriously warns: "comp.el newer than byte-compiled file" Date: Sun, 02 Oct 2022 14:04:08 +0300 Message-ID: <83y1ty1o7r.fsf@gnu.org> References: <83fsg7bnt0.fsf@gnu.org> <83r0zqahqj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26643"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, stefankangas@gmail.com, 58224@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 13:05:31 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 1oewmm-0006cn-Vu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 13:05:29 +0200 Original-Received: from localhost ([::1]:48318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oewmk-0001nW-Io for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 07:05:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oewmM-0001nO-Nx for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 07:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oewmM-0007EE-Em for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 07:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oewmL-0006i7-T6 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 07:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 11:05:01 +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.166470867125754 (code B ref 58224); Sun, 02 Oct 2022 11:05:01 +0000 Original-Received: (at 58224) by debbugs.gnu.org; 2 Oct 2022 11:04:31 +0000 Original-Received: from localhost ([127.0.0.1]:46333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oewlq-0006hK-Lo for submit@debbugs.gnu.org; Sun, 02 Oct 2022 07:04:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oewlk-0006h3-Kx for 58224@debbugs.gnu.org; Sun, 02 Oct 2022 07:04:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oewle-00078I-Mo; Sun, 02 Oct 2022 07:04:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rfQtq2c9xy6HCZpCGC2/cIACIGClKa9wFqE2kcYN5sQ=; b=G4WpJmJrbfdt eamQzW+ke2su8xzFw/oSb8VPUahV/CH+Yop4rQQ8GEZjoxYo4R5Ayz/BFWssn0gCk666oPmbo69kG MUJaKowEIAag9SV/D3pon4Fod89RLlrj0JttW1M/rb8UIYhwkNKX4J6QDY5Lvldn3E300mdp+vPzI YFGd9UFyQFcBN7T5JEHDkdKmUx8u2k8b7SlxK8FBr3ZG+lI3Oto376FEEbpoY7DjiPMH8F3GXEQ67 gCb5yPo3qGwPbVv5/Cc5f/r/HATYEDXcIwvuPnJoiVJ2r2HhNhmbhG2gGgiNV8qB4lUNMiixA1aqX Ycku3jsmDiIRiBW/Ip3qbg==; Original-Received: from [87.69.77.57] (port=4177 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 1oewle-00086B-5t; Sun, 02 Oct 2022 07:04:18 -0400 In-Reply-To: (message from Alan Mackenzie on Sun, 2 Oct 2022 10:43:44 +0000) 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:244199 Archived-At: > 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. 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?