[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exploring the code
From: |
Mathieu Lirzin |
Subject: |
Re: exploring the code |
Date: |
Tue, 19 Jul 2016 16:55:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi,
address@hidden (Ludovic Courtès) writes:
> 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
>>
>> 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,
--
Mathieu Lirzin