From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Mekeor Melire <mekeor@posteo.de>
Cc: "André A. Gomes" <andremegafone@gmail.com>, help-guix@gnu.org
Subject: Re: Install and load new emacs package without restarting it
Date: Mon, 08 May 2023 08:18:12 -0400 [thread overview]
Message-ID: <87bkivvwxn.fsf@gmail.com> (raw)
In-Reply-To: <621B4198-8511-43C3-8B3D-10F34F7334B3@posteo.de> (Mekeor Melire's message of "Mon, 08 May 2023 08:11:00 +0000")
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
prev parent reply other threads:[~2023-05-08 12:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-04 9:38 Install and load new emacs package without restarting it André A. Gomes
2023-05-04 22:09 ` Mekeor Melire
2023-05-08 1:15 ` Maxim Cournoyer
2023-05-08 8:11 ` Mekeor Melire
2023-05-08 12:18 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkivvwxn.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=andremegafone@gmail.com \
--cc=help-guix@gnu.org \
--cc=mekeor@posteo.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.