From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: exploring the code Date: Tue, 19 Jul 2016 16:55:18 +0200 Message-ID: <87h9bl65k9.fsf@gnu.org> References: <877fchn70q.fsf@gnu.org> 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]:47012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPWQk-0004lB-Fc for help-guix@gnu.org; Tue, 19 Jul 2016 10:55:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPWQi-0007ft-Dh for help-guix@gnu.org; Tue, 19 Jul 2016 10:55:29 -0400 In-Reply-To: <877fchn70q.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 19 Jul 2016 14:31:49 +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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix Hi, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > 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. 'C-c C-k' (geiser-compile-current-buffer) works most of the time, however this is not a silver bullet. For example: --8<---------------cut here---------------start------------->8--- ;;; foo.scm (define (where-is-foo) (display "foo!\n")) (where-is-foo) --8<---------------cut here---------------end--------------->8--- 'M-.' when the point is on 'where-is-foo' procedure call won't find the procedure definition even after 'C-c C-k'. It only works in the context of a module. My point is that Geiser should not be expected to be 100% reliable. 'M-x rgrep' is sometimes a helpful complement. ;) Thanks, --=20 Mathieu Lirzin