GNU bug report logs - #58224
29.0.50; "make bootstrap" spuriously warns: "comp.el newer than byte-compiled file"

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Sat, 1 Oct 2022 14:16:02 UTC

Severity: wishlist

Found in version 29.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: acm <at> muc.de, stefankangas <at> gmail.com, 58224 <at> debbugs.gnu.org
Subject: bug#58224: 29.0.50; "make bootstrap" spuriously warns: "comp.el newer than byte-compiled file"
Date: Sun, 2 Oct 2022 10:43:44 +0000
Hello, Eli.

On Sun, Oct 02, 2022 at 08:59:16 +0300, Eli Zaretskii wrote:
> > Date: Sat, 1 Oct 2022 21:15:46 +0000
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 58224 <at> debbugs.gnu.org, acm <at> muc.de
> > From: Alan Mackenzie <acm <at> muc.de>

> > I've hacked a quick fix together.  The idea is to give the variable
> > force-load-messages an extra possibility, 'never.  This suppresses the
> > messages we want to suppress.

> 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.

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 2 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.