Hi, Mekeor Melire <[email protected]> writes:
> On May 8, 2023 3:15:55 AM GMT+02:00, Maxim Cournoyer > <[email protected]> wrote: >>Hi, >> >>Mekeor Melire <[email protected]> writes: >> >>> 2023-05-04 12:38 [email protected]: >>> >>>> Hi Guix, >>> >>> Hello! >>> >>>> I'm wondering whether it's possible to install an emacs package and >>>> enable it without restarting emacs. >>>> >> >>[...] >> >>> Or, if you have emacs-guix installed, you could try: >>> >>> M-x guix-emacs-autoload-packages RET >> >>It should be the above (note that it ships with Guix itself, not with >>emacs-guix) as the glue used to load the autoload packages. >> >>It used to work prior to reinstating elisp package installation to their >>own unique directory. I think it'd be worth it to open a bug for it and >>try to make it work again; it shouldn't be too difficult. >> >>-- >>Thanks, >>Maxim > > Thanks for clarification. > > So, you are suggesting that guix-emacs-autoload-packages currently > does not work? I just tested it on my machine and it works just fine. I think it would work only for "legacy" Elisp packages that still install directly to the EMACSLOADPATH (site-lisp) directory, but not those who install to their own sub-directory, basically those with directories listed in your $EMACSLOADPATH/subdirs.el file. One example in my profile is emacs-cmake-mode, which installs its files to: --8<---------------cut here---------------start------------->8--- /gnu/store/...-emacs-cmake-mode-3.25.1/share/emacs/site-lisp/cmake-mode-3.25.1 --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim
