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

From: Clément Lassieur <[email-masked]>
Date: Wed, 27 Nov 2019 18:30:03 +0100

Maxim Cournoyer <[email-masked]> writes:

> I was ready to revert the changes when I saw a reply from Leo Prikler in
> this thread.  They had really good ideas that I believe fix the
> annoyances you reported about the recent changes, while preserving the
> new plus points (per profile management of Emacs packages, 'guix
> environment --ad-hoc' that works for Emacs, simplified build system).
>
> Perhaps you could try it out and see if it indeed fixes the problems you
> reported?

I just tried it, and except a build error with emacs-magit-todos[1], it
works very well!  Things installed with 'guix package -i' get loaded on
Emacs reboot, which is great in my opinion.

Thanks again,
Clément

[1]:
--8<---------------cut here---------------start------------->8---
Checking /gnu/store/81a9rjhsw7rh9pc5a121j65107vngyz8-emacs-magit-todos-1.4/share/emacs/site-lisp/...
Compiling /gnu/store/81a9rjhsw7rh9pc5a121j65107vngyz8-emacs-magit-todos-1.4/share/emacs/site-lisp/magit-todos-autoloads.el...
Compiling /gnu/store/81a9rjhsw7rh9pc5a121j65107vngyz8-emacs-magit-todos-1.4/share/emacs/site-lisp/magit-todos.el...
Cannot open load file: No such file or directory, transient
command "/gnu/store/2iaibkz1q8xmrqr1pr6ksijw5ifny0fn-emacs-minimal-26.3/bin/emacs" "--quick" "--batch" "--eval=(progn (setq byte-compile-debug t) (byte-recompile-directory (file-name-as-directory \"/gnu/store/81a9rjhsw7rh9pc5a121j65107vngyz8-emacs-magit-todos-1.4/share/emacs/site-lisp\") 0 1))" failed with status 255
builder for `/gnu/store/vadbvc79isvvy0wjyx5i0rbr2gr7xlab-emacs-magit-todos-1.4.drv' failed with exit code 1
build of /gnu/store/vadbvc79isvvy0wjyx5i0rbr2gr7xlab-emacs-magit-todos-1.4.drv failed
--8<---------------cut here---------------end--------------->8---