unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / 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

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git