>>>>> On Thu, 01 Oct 2020 11:29:02 +0200, Michael Albinus
>>>>> <[email protected]> said:
>> What might be better is a warning when upgrading packages that the
>> package is already loaded, and recommending the 'clean'
>> approach. Perhaps that could be a per-package opt-in?
Michael> Well, package-install shall do some book-keeping, which Emacs
version
Michael> has been used for compiling a package. And when a new Emacs version
Michael> appears, it shall trigger a warning, or a recompilation, or
whatever.
Michael> (I know there are traps for people like us, who change often the
Emacs
Michael> version in order to check bugs)
Michael> Hmm, maybe I'll do it at least for Tramp. Keep a variable for the
Emacs
Michael> version used for compilation, and react somehow, if another (major)
Michael> Emacs version is used.
Itʼs worse than what you think: having an old version of org loaded
can cause miscompilation of a new version of org, even when using the
same version of Emacs. Itʼs probably down to macros. There was a
message to the org-mode list about it if youʼre interested in the
details (although I didnʼt save it).
Robert
--