geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

edit-symbol-at-point ( M-. ) not working for me in guile, but only in ga


From: Andreas Reuleaux
Subject: edit-symbol-at-point ( M-. ) not working for me in guile, but only in gauche
Date: Tue, 16 Aug 2022 01:04:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

I am using geiser for both: gauche, and guile
via:

  geiser-gauche
  geiser-guile

and I start geiser, either with (run-geiser 'guile) or (run-geiser 'gauche)  -
depending on the value of geiser-scheme-implementation, 'guile or
'gauche

gauche is my default scheme, as defined with

--8<---------------cut here---------------start------------->8---
(setq geiser-default-implementation 'gauche)
--8<---------------cut here---------------end--------------->8---

(thus no further config needed), guile files have file local variables at the 
top, like this:

--8<---------------cut here---------------start------------->8---
#!/usr/bin/guile -s
!#  ;; -*- scheme-program-name: "guile" ; geiser-scheme-implementation: guile ; 
eval: (setq visit-tags-table (expand-file-name "TAGS" ".")) -*-

...
--8<---------------cut here---------------end--------------->8---


I can see that the correct emacs geiser scheme repl (gauche or guile ) is 
started  - depending on what scheme files I am editing,
and then I want to have some fun with geiser!


I compile buffers with C-k

So far, so good (works in both: gauche and guile files)

And for gauche this is enough (generates enough symbol information, as I 
understand), so that I can use:

--8<---------------cut here---------------start------------->8---
M-.  (edit-symbol-at-point)
--8<---------------cut here---------------end--------------->8---

and M-, to return - in gauche i.e. - which is fairly convenient - and I use 
this a lot.

The problem is: this works for me only in gauche - not in geiser guile:

Any time I do M-. on some symbol (function name etc.) in guile files, I only 
get to see

--8<---------------cut here---------------start------------->8---
Symbol not found (...)
--8<---------------cut here---------------end--------------->8---

there are a thousand things yet to learn for me about geiser, but I would like 
to have
this basic M-. working in geiser guile first.

I have no idea how to debug this!

Thanks in advance.

-A







reply via email to

[Prev in Thread] Current Thread [Next in Thread]