Hi Tomas,

You probably need to add guile-geiser to the shell as well, to add the geiser 
guile package in the corresponding search path. Possibly also other geiser 
related packages. Cant check if this will resolve the issue completely now, 
though.

Rutherther


On June 11, 2025 2:51:49 PM GMT+02:00, Tomas Volf <[email protected]> wrote:
>Hi,
>
>I am trying to use Geiser together with guix shell -C, however am not
>sure how to expose correct directories into the container.  I have put
>the following into my .dir-locals.el file:
>
>--8<---------------cut here---------------start------------->8---
>((scheme-mode
>  .
>  ((geiser-guile-binary
>    . ("guix" "shell" "-CNm" "manifest.scm" "--" "guile")))))
>--8<---------------cut here---------------end--------------->8---
>
>This works, and I get a REPL up, however the Geiser is not correctly
>loaded with an error.  Looking into the *Geiser Messages* buffer, I see
>the following:
>
>--8<---------------cut here---------------start------------->8---
>INFO: RETORT: ((error (key . retort-syntax)) (output . "While executing 
>meta-command:
>no code for module (geiser emacs)
>$4 = done") (debug))
>--8<---------------cut here---------------end--------------->8---
>
>My conclusion here is that the Geiser module is not available in the
>container.  However I did not figure out how to get it in there.  The
>best I have managed to do is to expose the whole store, as in:
>
>--8<---------------cut here---------------start------------->8---
>((scheme-mode
>  .
>  ((geiser-guile-binary
>    . ("guix" "shell" "-CNm" "manifest.scm" "--expose=/gnu/store"
>       "--" "guile")))))
>--8<---------------cut here---------------end--------------->8---
>
>Is there any solution I am missing?  There is geiser-guile-scheme-dir
>variable present, but I am not sure how to use it when setting the local
>variables.
>
>Thanks,
>Tomas
>

Reply via email to