guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] doc: Improve guile load path recommendation.


From: Alex Kost
Subject: Re: [PATCH] doc: Improve guile load path recommendation.
Date: Sun, 16 Apr 2017 11:06:44 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

myglc2 (2017-04-16 00:19 -0400) wrote:

> On 04/15/2017 at 16:20 Chris Marusich writes:
[...]
> The geiser doc says ...
>
>        You can also specify a couple more initialisation parameters.  For
>     Guile, 'geiser-guile-load-path' is a list of paths to add to its load
>     path (and its compiled load path) when it's started, ...
>
> ... which implies that geiser sets the compiled load path to the
> geiser-guile-load-path. But it does not seem to be doing that. I guess
> that could be a bug.

Previously I also thought that setting ‘geiser-guile-load-path’ is not
enough as it would only set the %load-path, because Geiser starts Guile
like this (<some-dir> comes from ‘geiser-guile-load-path’):

  guile ... -L <some-dir>

while it should be:

  guile ... -L <some-dir> -C <some-dir>

to set the %load-compiled-path as well.  However, I've just found that
geiser sets %load-compiled-path internally in its Scheme code, so the
current recommendation in the manual should probably work (I didn't
check it, as I prefer to set environment variables).

BTW, according to the commit message at
<https://github.com/jaor/geiser/commit/393305d2fcf612f4e5f99383f680f819b458c326>,
it looks like Ludovic was the person who proposed this change ;-)

-- 
Alex



reply via email to

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