switch-to-geiser never reconnects a disconnected REPL
Created by: llvilanova
I'm using the geiser REPL through
geiser-connect. All is great with
geiser-mode-switch-to-repluntil I restart my application (which provides a guile REPL server); then the REPL gets disconnected.
At that point, executing
geiser-mode-switch-to-repl starts a new guile REPL server, instead of trying to reconnect the one I had.
This is pretty annoying, since I have to kill the new "local" REPL, execute
geiser-connect, and resume working with that remote REPL. There seems to be no alternative nor tweak to use
geiser-connect instead of
geiser-run as a response to
geiser-mode-switch-to-repl (which ends up calling
switch-to-geiser, where the decision takes place).