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


Message #8 received at 27253 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: nljlistbox2 <at> gmail.com (N. Jackson)
Cc: 27253 <at> debbugs.gnu.org
Subject: Re: bug#27253: 25.2; Suggestion: On startup after Emacs version
 change, package should offer to correct invalid bytecode
Date: Tue, 17 May 2022 21:08:05 +0200
nljlistbox2 <at> gmail.com (N. Jackson) writes:

> It would be nice on Emacs startup, if Package could detect
> incompatible byte code in packages compiled with a different
> version of Emacs, and offer to recompile them.
>
> What happens now in this situation is that on startup a message is
> displayed complaining of invalid byte code in the user's init file
> which is slightly confusing, and not very helpful. [Or, at least,
> not as helpful as offering to recompile the offending package.]

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Do you have an example of such a message on startup?

In general, it's not just invalid bytecode that's a problem, but also
other things like macros that have changed definitions (so the old
.elc doesn't quite work right).  But that's hard to detect.

There should perhaps be a command to recompile all installed packages?
Or does that exist somewhere?  (I don't see any such command...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.