GNU bug report logs - #75709
Emacs fails to start with "List contains a loop" error

Previous Next

Package: guix;

Reported by: Thiago Jung Bauermann <bauermann <at> kolabnow.com>

Date: Mon, 20 Jan 2025 23:32:02 UTC

Severity: important

Merged with 75749

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
To: Alexandre Hannud Abdo <abdo <at> member.fsf.org>
Cc: 75709 <at> debbugs.gnu.org
Subject: bug#75709: also with guix home
Date: Thu, 23 Jan 2025 13:23:37 -0300
Hello Alexandre,

Alexandre Hannud Abdo <abdo <at> member.fsf.org> writes:

> Having the same issue here.
>
> I'm using `emacs-pgtk` with Guix Home on Guix System, so it's Guix (Home) itself is
> producing all my profile variables and shell init scripts.
>
> My home configuration is very plain and doesn't touch shell init in any relevant
> way. Here's the bash-config part:
>
> ```
> (home-bash-configuration
>                    (aliases '(("ema" . "emacs -nw")
>                               ("emc" . "emacsclient -nw")))
>                    (environment-variables '(("EDITOR" . "emacs"))))
> ```

I don't use Guix System nor Guix Home, so it's unwise for me to
speculate. But I'll do it anyway. :)

Perhaps you have Emacs packages installed in both the system configuration
and the home configuration? Perhaps that could be causing the
environment variable to be set at two different places?

In any case, there does seem to be some issue with Guix System or Guix Home.

> And just in case, here are the list of 'emacs-' packages in my home profile:
>
> ```
> "emacs-atomic-chrome"
> "emacs-company"
> "emacs-geiser"
> "emacs-geiser-guile"
> "emacs-guix"
> "emacs-ibuffer-vc"
> "emacs-magit"
> "emacs-marginalia"
> "emacs-markdown-mode"
> "emacs-nov-el"
> "emacs-olivetti"
> "emacs-paredit"
> "emacs-pgtk"
> "emacs-python-black"
> "emacs-undo-tree"
> "emacs-yaml-mode"
> "emacs-yasnippet"
> "emacs-yasnippet-snippets"
> ```
>
> Does this help spot something? What can I do to help?

The issue in the Emacs package was already spotted by Liliana, but to
spot what could be the problem with Guix System / Guix Home, the best
option is to give enough information so that someone else can reproduce
the problem you're seeing.

That would be either your full system and home configurations (if you
are comfortable providing them), or (even better) a trimmed down version
of the system and home ocnfigurations that still reproduce the problem.

--
Thiago




This bug report was last modified 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.