Ni! Thanks for your comments, Thiago. Emacs is not installed by my system
config. And as I said my sisem is very plain and any details I haven't provided
are unrelated to emacs. .~´
Le 23/01/2025 à 17:23, Thiago Jung Bauermann a écrit :
Hello Alexandre,
Alexandre Hannud Abdo <[email protected]> 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