Problem with Chibi evaluation and completion
I initially thought this problem only affects my installation under Android/Termux, but it also seems to be the case on Mac OS X (I have yet to verify it on GNU/Linux and/or BSD).
When launching a Chibi session via M-x run-geiser
I get a running REPL and after opening a Scheme file the association between it and the REPL seems fine (i.e. C-c C-z
transfers the cursor between the two). So far, so good. What I noticed first is that completion does not work - neither in the REPL, nor in the Scheme file. I looked into the code, specifically, the stuff in scheme/chibi/geiser
. Perhaps I'm missing something, but I imagine the appropriate Scheme code would get loaded to the REPL to support subsequent interactions, but it seems the Chibi REPL is ignorant of the custom code until I hand-load it (i.e. copy and paste into the REPL due to evaluation problems). Once the code is loaded, I can run something like: (all-environment-exports (current-environment) "def")
and obtain a list of completions in the REPL. But when I invoke Emacs' completion-at-point
in the source buffer, everything freezes until I abort it with C-g
. There's no trace of what is going on in the *Messages*
buffer. Similar problem occurs when I try to submit code to the REPL (e.g. via C-c C-c
) - no response until C-g
is used and no definition sent to the REPL. Any ideas? Please, let me know if I can provide any additional data.
Geiser version (ELPA): geiser-20200327.2213
Android environment:
$ termux-info
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# root-repo (sources.list.d/root.list)
deb https://dl.bintray.com/grimler/termux-root-packages-24 root stable
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
Updatable packages:
All packages up to date
Android version:
9
Kernel build information:
Linux localhost 4.9.112-perf+ #2 SMP PREEMPT Fri Jan 31 15:45:45 CST 2020 aarch64 Android
Device manufacturer:
Fairphone
Device model:
FP3