Emacs 27+git, Chicken 5 do not work with geiser
I have Chicken [5.0.1 (rev 9f558238)] (a very recent checkout from git), Emacs also compiled from git (today, Apr/5 rev. f2d22273599f96a731e23b2f6d7571af8bb7bb3f) and geiser-20190224.2048 from ELPA. They don't seem to get along well...
emacs -q, then run these lines in the scratch buffer:
(require 'package) (package-initialize) (use-package geiser :ensure t)
Then, open some file ending in
.scm. A "Guile" menu will show up. Go there, and choose Run->Chicken. The REPL shows up, but an error is shown every time I hit enter:
CHICKEN (c) 2008-2018, The CHICKEN Team (c) 2000-2007, Felix L. Winkelmann Version 5.0.1 (rev 9f558238) linux-unix-gnu-x86-64 [ 64bit dload ptables ] #;1> Error: unbound variable: geiser-no-values Call history: <syntax> (geiser-no-values) <eval> (geiser-no-values) <-- #;4> Error: unbound variable: geiser-no-values Call history: <syntax> (geiser-no-values) <eval> (geiser-no-values) <-- #;4>
I could only get it to work doing this:
besides those three lines, I also evaluate
(setq scheme-program-name "csi -:c")
in the scratch buffer. Then, instead of using the menu, I just hit
Then the Chicken REPL shows up, and works reasonably well (it only shows the prompt when there is something to be printed, but there is no error).