Subject: Re: bug#45781: Emacs packages not visible out of the box

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 21 Jan 2021 08:47:50 -0500

tags 45781 notabug
thanks

Hi Ludovic!

Ludovic Courtès <[email-masked]> writes:

> Hi!
>
> Consider this Emacs:
>
>   guix environment -E DISPLAY --expose=/tmp/.X11-unix \
>     --ad-hoc -C emacs emacs-geiser emacs-guix guile \
>     -- emacs -Q
>
> Things like M-x run-guile (from Geiser) or M-x guix are not accessible
> by default.  I have to explicitly (require 'geiser) etc. to get them.

That's expected when using -Q, which does --no-site-file.  The site file
is responsible to load the package autoloads files, via
'guix-emacs-autoload-packages'.

> It seems to me that it used to be the case that Emacs packages were
> readily usable in fresh environments, no?  Did something change
> recently?

No, nothing changed!

Closing,

Thank you.

Maxim