geiser-doc-look-up-manual does not search guile manuals when implementation is guile
I am new to Guile, geiser, and elisp, so I am not 100% sure this is a bug (maybe it is expected behavior?). I am working on version 0.10 of Geiser, version 26.1 of emacs, and version 2.2.4 of Guile.
The problem I was having was that geiser-doc-look-up-manual was only searching the default scheme documentation (R5RS), even when Guile is set as my implementation. After digging around in the code, it appears the function
guile--manual-look-up (lines 402-408 of geiser-guile.el) is the culprit, as it calls
'scheme-mode rather than
'geiser-guile-mode (line 405). Changing
(defun guile--manual-look-up (id mod) (let ((info-lookup-other-window-flag geiser-guile-manual-lookup-other-window-p)) (info-lookup-symbol (symbol-name id) 'geiser-guile-mode)) (when geiser-guile-manual-lookup-other-window-p (switch-to-buffer-other-window "*info*")) (search-forward (format "%s" id) nil t))
gives the behavior I was looking for (search Guile's reference manual rather than R5RS). That said, again I'm not sure if this is a bug because maybe searching R5RS is the desired behavior, especially because I can see why that could be preferred. Also, given I'm new to Guile and elisp maybe I missed some customization somewhere. I also attached a copy of my geiser-guile.el.
Thank you very much for your help and work on Geiser.
Best, Adam Massmann