kovisoft / slimv

Official mirror of Slimv versions released on vim.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interrupt process does not work with mit-scheme.

lazakoa opened this issue · comments

The title says it all. The following commands do nothing when using mit-scheme:
,y
,ri

Is there an alternative way to kill a mit-scheme process?

Slimv calls swank server functions, so slimv is able to do whatever is implemented in the swank server. The Interrupt-Lisp-Process is using swank server function :emacs-interrupt. That function does not seem to be implemented in swank-mit-scheme.scm (I found it only id swank-kawa.scm but that for Kawa Scheme). Please note that the swank server contained in slimv is just 'borrowed', it is not written by me. Actually swank-mit-scheme.scm was not touched since 2016, so I'm not sure it's actively maintained. I'll check it but I don't think I'm qualified enough to add :emacs-interrupt to swank-mit-scheme.scm.

Thanks for the prompt reply. I'll use ",Q,c" for now, it's kinda ugly but it works :)

So interrupting with ",y" does actually interrupt mit-scheme and you can call (RESTART 3) in the mit-scheme instance to get everything running again. Haven't found a way to call (RESTART 3) from within vim yet.