Hi fellow Emacs users,
I'm experience very slower performance of 25.1 but a startup with -Q indicated the problem is probably caused by my old packages. (Similar scenario: https://www.reddit.com/r/emacs/comments/55ork0/is_emacs_251_noticeably_slower_than_245_on_windows/)
Removing all the old byte-compiled package files in ELPA (and perhaps also in other folders? please suggest) will be necessary. But I'm paranoid as to keeping some older contents suited version 24 will also affect version 25. So I am planning to refresh every packages to their latest versions, and remove those obsolete packages with obviously suspended maintenance.
I foresee that I need to remove the content of the whole ELPA folder manually; but for re-downloading the packages to the ELPA folder, I don't want to compare a previously saved list visually and add them one by one manually in package-list-packages.
Is there a smarter way?
Thanks for your help.
(byte-recompile-directory "<path-to-elpa-directory>" 0 t)
. No need to reinstall the packages if they haven't changed, the only thing you need to update is the .elc files.