guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 4/7] emacs: Add 'guix-devel-use-current-module'.


From: Ludovic Courtès
Subject: Re: [PATCH 4/7] emacs: Add 'guix-devel-use-current-module'.
Date: Wed, 26 Aug 2015 13:07:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> skribis:

> Ludovic Courtès (2015-08-18 17:05 +0300) wrote:

[...]

>>> +want to use a module it defines, so you switch to the Geiser REPL and
>>> +write @code{,use (some module)} there.  You may just use this command
>>> +instead.
>>
>> Could you mention a use case here?  Like:
>>
>>   For instance, you may call this command while visiting a file that
>>   defines packages; you can then switch to the associated REPL with
>>   @kbd{C-c C-z}, which will be in the current module, which is handy.
>
> The REPL will not be in the current module.  "M-x
> guix-devel-use-current-module" is the equivalent of ",use", not
> ",module".  I thought the documentation was clear about that, no?

Now that I reread it, it seems clear, indeed.  Forget my previous
comment.

>> The “-devel” part might make it sound like it has an effect similar to
>> ‘pre-inst-env’ though.  Perhaps we should explicitly remind developers
>> that they must set ‘guix-load-path’ appropriately?
>
> Setting ‘guix-load-path’ will not take any effect here.  The whole point
> of this guix-devel stuff is to provide additional commands for
> scheme-mode, like Geiser does.  And these additional commands are
> independent from Guix REPL; they are called in the current Geiser REPL
> the same way you would use other Geiser commands.

Right, sorry for messing things up!

Thanks,
Ludo’.



reply via email to

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