all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45781: Emacs packages not visible out of the box
@ 2021-01-11 13:37 Ludovic Courtès
  2021-01-21 13:47 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2021-01-11 13:37 UTC (permalink / raw)
  To: 45781

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.

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?

That’s with:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generacio 171   Jan 11 2021 11:38:39    (nuna)
  guix 458cb25
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 458cb25b9e7e7c954f468023abea2bebb5d8c75b
--8<---------------cut here---------------end--------------->8---

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#45781: Emacs packages not visible out of the box
  2021-01-11 13:37 bug#45781: Emacs packages not visible out of the box Ludovic Courtès
@ 2021-01-21 13:47 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2021-01-21 13:47 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 45781-done

tags 45781 notabug
thanks

Hi Ludovic!

Ludovic Courtès <ludo@gnu.org> 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-21 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 13:37 bug#45781: Emacs packages not visible out of the box Ludovic Courtès
2021-01-21 13:47 ` Maxim Cournoyer

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.