[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Install and load new emacs package without restarting it
From: |
Maxim Cournoyer |
Subject: |
Re: Install and load new emacs package without restarting it |
Date: |
Mon, 08 May 2023 08:18:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Mekeor Melire <mekeor@posteo.de> writes:
> On May 8, 2023 3:15:55 AM GMT+02:00, Maxim Cournoyer
> <maxim.cournoyer@gmail.com> wrote:
>>Hi,
>>
>>Mekeor Melire <mekeor@posteo.de> writes:
>>
>>> 2023-05-04 12:38 andremegafone@gmail.com:
>>>
>>>> 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