Hi, l...@gnu.org (Ludovic Courtès) writes:
> Catonano <caton...@gmail.com> 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