After quite some hacking I now longer get a warning from a package, did I have success? How do I list all loaded packages? (NOT INSTALLED, installation was not the problem, loading was, eg require).
4 Answers
As far as I remember, the variable package-activated-list is what you are looking for.
Source: A Reddit thread (retrieved today, 2018-08-28)
- that function doesn't exist in my emacs, ironic though, that thread you linked is what I'm building right now: github.com/jappeace/linux-config/blob/master/emacs.nix Almost perfectly reproducible (cause nix).Jappie Kerk– Jappie Kerk2018-08-28 13:19:53 +00:00Commented Aug 28, 2018 at 13:19
- 4@JappieKerk It's a variable, not a function.Omar– Omar2018-08-31 21:23:54 +00:00Commented Aug 31, 2018 at 21:23
use-package users may set (setq use-package-compute-statistics t) enables one to run M-x use-package-report to provide output similar to:
Package Status Last Event Time org-ref Initialized 2022-01-28 Fri 14:27 0.01 ox-gfm Declared 2022-01-28 Fri 14:01 0.00 ob-restclient Configured 2022-01-28 Fri 14:27 0.00 ref: https://github.com/jwiegley/use-package#gathering-statistics
As a useful aside, Omar's comment led me to C-h v features providing a list of loaded features which is roughly equivalent to a superset of the loaded packages, as most packages use a provide function.
I personally use Paradox package manager. With paradox loaded, M-x paradox-list-packages shows new, available, installed, built-in, obsolete and incompatible packages. Just scroll through the list to see what's up.
Additionally, Paradox is a really slick package manager, allowing you to upgrade available packages, delete packages that have been installed and many, many more useful tasks.
- 1You might want to add a link to Paradox, for reference.Drew– Drew2018-08-30 21:21:22 +00:00Commented Aug 30, 2018 at 21:21
- The question is about loaded packages, isn't it? Or all installed are loaded? But that probably also holds with the builtin package manager. Although I'm not sure how they will react if you move some folder.x-yuri– x-yuri2021-09-03 20:18:30 +00:00Commented Sep 3, 2021 at 20:18
From the "require" help:
require is a built-in function in ‘C source code’. ... If FEATURE is not a member of the list ‘features’, then the feature is not loaded; so load the file FILENAME.
So look in the global list "features".
C-h v load-historytell you?