unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#48223: EXWM knows nothing about Guix profiles
@ 2021-05-04 11:37 Leo Prikler
  2021-05-07 19:15 ` janneke
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Prikler @ 2021-05-04 11:37 UTC (permalink / raw)
  To: 48223

Hi Guix,

I just recently helped someone debug an issue they encountered when
using EXWM.  It turned out their EMACSLOADPATH was set to
"/run/current-system/profile/share/emacs/site-
lisp:/gnu/store/1zszglsxl4zxy9alcwxjwj26d30qmyv9-emacs-
27.2/share/emacs/27.2/lisp" – quite notably, "$HOME/share/emacs/site-
lisp" was missing.

I think the launcher that we install in the install-xsession does not
do sufficient work to set up the environment variables of the session
appropriately.  In particular, I think it should source /etc/profile
prior to running Emacs.

WDYT?





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

* bug#48223: EXWM knows nothing about Guix profiles
  2021-05-04 11:37 bug#48223: EXWM knows nothing about Guix profiles Leo Prikler
@ 2021-05-07 19:15 ` janneke
  0 siblings, 0 replies; 2+ messages in thread
From: janneke @ 2021-05-07 19:15 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 48223

Leo Prikler <leo.prikler@student.tugraz.at> writes:

Hello Leo,

> I just recently helped someone debug an issue they encountered when
> using EXWM.  It turned out their EMACSLOADPATH was set to
> "/run/current-system/profile/share/emacs/site-
> lisp:/gnu/store/1zszglsxl4zxy9alcwxjwj26d30qmyv9-emacs-
> 27.2/share/emacs/27.2/lisp" – quite notably, "$HOME/share/emacs/site-
> lisp" was missing.

Wow, I just hit this problem too.  Your message helped me finding the
problem right away.  My system which includes EXWM was still at
emacs-27.1, while I upgraded my profile to emacs-27.2.

> I think the launcher that we install in the install-xsession does not
> do sufficient work to set up the environment variables of the session
> appropriately.  In particular, I think it should source /etc/profile
> prior to running Emacs.
>
> WDYT?

I think this is a very good idea.

Greetings,
Janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




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

end of thread, other threads:[~2021-05-07 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 11:37 bug#48223: EXWM knows nothing about Guix profiles Leo Prikler
2021-05-07 19:15 ` janneke

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