[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27253: 25.2; Suggestion: On startup after Emacs version change, pack
From: |
Lars Ingebrigtsen |
Subject: |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
nljlistbox2@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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#27253: 25.2; Suggestion: On startup after Emacs version change, package should offer to correct invalid bytecode,
Lars Ingebrigtsen <=