[Top][All Lists]

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

Re: exploring the code

From: Ludovic Courtès
Subject: Re: exploring the code
Date: Tue, 19 Jul 2016 14:31:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Catonano <address@hidden> skribis:

> I opened the file guix/scripts/build.scm in Emacs
> For Geiser to be able to jump to the definition of a symbol at point
> or to open a documentation buffer, I need the Guile REPL to "load" the
> file 
> C-x C-b does the trick, but I see this error in the REPL, then

I use C-c C-k (geiser-compile-current-buffer), which works well for me.
Not sure what the problem is here.

> After that, many symbols become available anyway: I can jump to their
> definition and I can have doc buffers popping up
> All but one: "options->derivations" on line 670

Works for me after C-c C-k.  :-)

Could you try this and report back?  It’s a good idea to pre-build Guix
before, using ‘make’, so that Geiser doesn’t end up recompiling

> I'm doing this because I'd like to redo in the REPL what the command
> "guix build blah" does. At least some parts of it
> In order to make it less abstract in my mind, to get aquainted with
> the build subsystem. I need to see some procedures called and
> returning something, I need to see macros expanded.
> I hope you understand
> If anyone can suggest a better way to get aquainted with the build
> subsystem I'm all ears.

I think you’re right, it’s a very good idea to explore Guix this way.
This is more or less the approach I took in
so you might find it useful (you might also have suggestions on how to
improve this talk, which would be more than welcome!).


reply via email to

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