guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50045] [André A. Gomes] [PATCH] Documentation fix


From: André A . Gomes
Subject: [bug#50045] [André A. Gomes] [PATCH] Documentation fix
Date: Fri, 21 Jan 2022 22:06:04 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi Nicolas,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

>> Here's a recipe to see it failing:
>>
>> Write a file, say test-emacs.el:
>>
>> --8<---------------cut here---------------start------------->8---
>> (with-eval-after-load 'geiser-guile
>>   (add-to-list 'geiser-guile-load-path "~/src/guix"))
>> --8<---------------cut here---------------end--------------->8---
>>
>> $ emacs -q -l /path/to/test-emacs.el
>>
>> M-x guix p n
>>
>> --8<---------------cut here---------------start------------->8---
>> Starting Guix REPL ... [5 times]
>> guix-geiser-eval: Error in evaluating guile expression: 
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> error: package-names*: unbound variable
>>
>> Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
>> scheme@(emacs-guix) [1]>
>> --8<---------------cut here---------------end--------------->8---
>
> Thank you for your patch. However it is merely a workaround:
> "~/src/guix" _is_ an absolute path. I think there's a problem upstream.
>
> However, emacs-geiser-guile package was updated a few times since your
> bug report. Maybe the issue is already fixed. Could you confirm it?

This is still an issue, despite the recent updates.  I'm still as
baffled as I was when I reported.  How could I investigate this further?
Thanks.

Let me restate the issue for the sake of clarity.

Write the s-exp below to a file, let's call it test-emacs-guix.el.

--8<---------------cut here---------------start------------->8---
(with-eval-after-load 'geiser-guile
  (add-to-list 'geiser-guile-load-path "~/path/to/guix/checkout/"))
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
$ emacs -nw -q -l test-emacs-guix.el
--8<---------------cut here---------------end--------------->8---

M-x guix RET p ; n.  The Guix REPL raises the error mentioned in my
previous message.

When I change the path to /home/$USER/path/to/guix/checkout, the REPL is
successfully started.


--
André A. Gomes
"Free Thought, Free World"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]