GNU bug report logs -
#65464
Emacs 29.1 - VHDL mode missing updates…
Previous Next
Full log
Message #66 received at 65464 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, Reto Zimmermann <reto <at> gnu.org>,
> 65464 <at> debbugs.gnu.org, Stefan Kangas <stefankangas <at> gmail.com>
> Date: Mon, 11 Sep 2023 18:17:18 -0400
>
> > In other words, if someone is unable to run vhdl-mode.elc from Emacs 29 on
> > Emacs 28, then we're very sorry but do not consider it a defect that needs
> > to be remedied.
>
> Actually, I do think we should try and detect the problem (and ideally
> emit a message/error and maybe even fallback to loading the
> non-compiled file).
>
> We do have the necessary info in the `.elc` file (the byte 4th byte
> (0-based numbering) of a `.elc` file holds the major version number of
> the Emacs on which it was compiled (with some caveat for non-released
> Emacs versions, such as 30.0.NN emitting `.elc` files that say "version
> 29")).
>
> We just need to make use of that info.
Make use how? In most cases the byte-code is compatible both backward
and forward, so displaying a warning would be an annoyance that 99% of
time is unjustified.
This bug report was last modified 1 year and 277 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.