Hi,
I appreciate any guidance on how to accomplish this. I'm using MIT Scheme 9.1.1.
I followed the README here: https://github.com/ecraven/mit-scheme-swank https://github.com/slime/slime/blob/master/contrib/swank-mit-scheme.scm
I added the following to ~/.scheme.init (load-option 'format) (load "~/.emacs.d/lisp/swank.scm" (->environment '(runtime swank)))
and added relevant portions of swank.scm and swank-mit-scheme.scm to .emacs suggested by :
There is an abort issue when starting MIT REPL: M-x run-mit Image saved on Saturday December 3, 2016 at 9:44:07 AM Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/x86-64 4.118 || Edwin 3.116 ;Loading "/home/np/.scheme.init"... ; Loading "format.com"... done ; Loading "swank.scm"... aborted
I also see the following error when *inferior-lisp* buffer starts with MIT Scheme: ;Unbound variable: create-package-from-description
Which is called in swank-mit-scheme.scm elisp code for (mit-scheme-init).
Under the mode line keep saying Polling /tmp/slime, which I assume is due a non working connection.
Appreciate any guidance.
Thanks
On Fri, 20 Mar 2020 at 04:32, Nicholas Papadonis nick.papadonis.ml@gmail.com wrote:
; Loading "swank.scm"... aborted
I also see the following error when *inferior-lisp* buffer starts with MIT Scheme: ;Unbound variable: create-package-from-description
Which is called in swank-mit-scheme.scm elisp code for (mit-scheme-init).
Under the mode line keep saying Polling /tmp/slime, which I assume is due a non working connection.
Unfortatunely, we don't have many Scheme users and the maintainers are Common Lisp users. If loading swank.scm failed, the swank server hasn't been set up and Emacs can't connect, as you guessed. You will need to debug swank.scm and fix that create-package-from-description unbound variable issue.
Cheers,
If I may chime in, the swank in contrib/ probably does not work with current SLIME, and mine (the ecraven one) won't work with that old a MIT/GNU Scheme. If you update to a current version of MIT/GNU Scheme, the swank on github should work fine (it's what I use myself).
You can just write to me directly, I'll try to help as much as I can ;)
Greetings, Peter
Peter,
Feel free to send your updated version to SLIME as a pull request or we'll give you push permissions if you'd rather push directly.
Cheers, Luís
On Fri, 20 Mar 2020 at 11:53, craven@gmx.net wrote:
If I may chime in, the swank in contrib/ probably does not work with current SLIME, and mine (the ecraven one) won't work with that old a MIT/GNU Scheme. If you update to a current version of MIT/GNU Scheme, the swank on github should work fine (it's what I use myself).
You can just write to me directly, I'll try to help as much as I can ;)
Greetings, Peter