Unbound variable error in slimv with mit-scheme

549 views Asked by At

After trying to start swank server from vim (or after executing the command

scheme --load /usr/share/emacs/site-lisp/slime/contrib/swank-mit-scheme.scm

from terminal prompt) I get the following error:

Image saved on Tuesday November 8, 2011 at 10:40:30 PM
  Release 9.1.1 || Microcode 15.3  || Runtime 15.7 
  SF 4.41       || LIAR/i386 4.118 || Edwin 3.116

;Loading "/usr/share/emacs/site-lisp/slime/contrib/swank-mit-scheme.scm"...
;Unbound variable: o
;To continue, call RESTART with an option number:
; (RESTART 3) => Specify a value to use instead of o.
; (RESTART 2) => Define o to a given value.
; (RESTART 1) => Return to read-eval-print level 1.

It seems that the error is caused by the line:

(define-generic inspect (o))

Any ideas what can I do?

1

There are 1 answers

3
Tamas Kovacs On

Try to run swank-mit-scheme.scm embedded in Slimv. It is slightly modified: it loads options and runs swank server in an infinite loop.