When the prompt is colored: geiser-repl--wait-for-prompt: No prompt found!
Hi,
I'm getting a "No prompt found!" error when I try to connect Geiser to a Guile REPL like this:
- In a terminal, run
$ guile --listen=/tmp/guile-socket
- In Emacs,
M-x geiser-connect-local
, [thenguile
,] and finally/tmp/guile-socket
When the Guile REPL starts in Emacs, I get a "No prompt found!" in the echo area, and the prompt in the REPL looks like this:
This is on a Guix System, GNU Emacs 28.2, and the Guile config file (~/.guile
) looks like this by default:
(cond ((false-if-exception (resolve-interface '(ice-9 readline)))
=>
(lambda (module)
;; Enable completion and input history at the REPL.
((module-ref module 'activate-readline))))
(else
(display "Consider installing the 'guile-readline' package for
convenient interactive line editing and input history.\n\n")))
(unless (getenv "INSIDE_EMACS")
(cond ((false-if-exception (resolve-interface '(ice-9 colorized)))
=>
(lambda (module)
;; Enable completion and input history at the REPL.
((module-ref module 'activate-colorized))))
(else
(display "Consider installing the 'guile-colorized' package
for a colorful Guile experience.\n\n"))))
Edited by Luis Felipe