From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: exploring the code Date: Tue, 19 Jul 2016 14:31:49 +0200 Message-ID: <877fchn70q.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPUBq-0003Ta-Jo for help-guix@gnu.org; Tue, 19 Jul 2016 08:31:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPUBn-0006hp-AW for help-guix@gnu.org; Tue, 19 Jul 2016 08:31:58 -0400 In-Reply-To: (catonano@gmail.com's message of "Tue, 19 Jul 2016 00:27:34 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix Catonano 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=20 > > C-x C-b does the trick, but I see this error in the REPL, then > > http://paste.lisp.org/display/320775 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=E2=80=99s a good idea to pre-build = Guix before, using =E2=80=98make=E2=80=99, so that Geiser doesn=E2=80=99t end up= recompiling everything. > 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=E2=80=99re right, it=E2=80=99s 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!). HTH, Ludo=E2=80=99.