GNU bug report logs - #27253
25.2; Suggestion: On startup after Emacs version change, package should offer to correct invalid bytecode

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Mon, 5 Jun 2017 15:20:01 UTC

Severity: wishlist

Tags: moreinfo

Found in version 25.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "N. Jackson" <nljlistbox2 <at> gmail.com>, 27253 <at> debbugs.gnu.org
Subject: bug#27253: 25.2; Suggestion: On startup after Emacs version change, package should offer to correct invalid bytecode
Date: Wed, 15 Jun 2022 13:18:29 -0400
Lars Ingebrigtsen [2022-06-15 18:44:25] wrote:
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> There should perhaps be a command to recompile all installed packages?
>> Or does that exist somewhere?  (I don't see any such command...)
> Perhaps Stefan knows; added to the CCs.

There should be a command/function to recompile an installed package,
and maybe another to do the same for all packages, yes.

I don't think the OP's situation would be best served by recompiling
everything, because usually recompilation is only needed for those few
packages that were compiled a *long* time ago ( where I'd expect most
packages have probably been recompiled since then because of
package updates).

But there's definitely room for improvement along the path of:
detecting the presence of a file that's too old, figuring out which
package needs to be recompiled, and then recompiling it.


        Stefan





This bug report was last modified 3 years and 54 days ago.

Previous Next


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