GNU bug report logs -
#39233
.elc file - possibly outdated backward compatibility comments
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Wed, 22 Jan 2020 08:45:02 UTC
Severity: minor
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #43 received at 39233 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier wrote:
> + (format "(if (< emacs-major-version %d)\n"
> + ;; Let's allow silently loading into Emacs-27
> + ;; files compiled with Emacs-28.0.NN since the two can
> + ;; be almost identical (e.g. right after cutting the
> + ;; release branch) and people running the development
> + ;; branch can be presumed to know that it's risky anyway.
> + (if (zerop emacs-minor-version)
> + (1- emacs-major-version) emacs-major-version))
> + (format " (message \"BEWARE: %%S was compiled by a more recent version of Emacs (%s)\" #$))" emacs-version)
> + "\n\n"))))
This looks like an unsuppressible warning using a non-standard format
("BEWARE"), hard-coded into the elc?
I had thought you would be doing this in lread.c, behind an option,
similar to the existing load_dangerous_libraries.
I guess the advantage (...) of your version is that it will have an
immediate effect in pre-existing Emacs versions.
This bug report was last modified 4 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.