Subject: Re: bug#38309: Recent $EMACSLOADPATH changes crash gnome-session

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 28 Nov 2019 14:28:19 +0900

Hello,

Jelle Licht <[email-masked]> writes:

> Maxim Cournoyer <[email-masked]> writes:
>
>> [...]
>> I've tested these changes with a Gnome VM and the EMACSLOADPATH is now
>> reduced to just the Emacs' lisp directory as well as the
>> share/emacs/site-lisp directory of any profile.  Thanks for the great
>> ideas :-).
>
> Would this still allow Emacs to load packages from Guix' environments as well?

Yes, and directly handled by Guix search path machinery, as in:

guix environment --pure --ad-hoc emacs emacs-magit -- emacs

--> Magit available in that Emacs instance spawned from that
environment, given that EMACSLOADPATH has been set correctly.

Maxim