Hi -- I am getting weird results with my remote slime connection.
I am running and SBCL 0.9.16 and swank from SLIME 2.0 on a remote linux box, and connecting with SLIME 2.0 on
GNU Emacs 22.0.91.3 from 2006-12-16.
When I `slime-connect' I get this prompt:
Protocol version mismatch. Continue anyway? (yes or no)
If I type yes, then I can do things:
CL-USER> (asdf:operate 'asdf:load-op :elephant) ; loading system definition from ; /usr/local/lib/sbcl/site-systems/elephant.asd into #<PACKAGE "ASDF0"> [...]
But I can't seem to get values back! --
CL-USER> (+ 1 1) CL-USER>
On the other hand, I can print:
CL-USER> (format t "~a" (+ 1 1)) 2
Is there a way to get the normal expected behavior back?
+ Joe Corneli jcorneli@planetmath.org:
| Hi -- I am getting weird results with my remote slime connection. | | I am running and SBCL 0.9.16 and swank from SLIME 2.0 on a remote | linux box, and connecting with SLIME 2.0 on | | GNU Emacs 22.0.91.3 from 2006-12-16. | | When I `slime-connect' I get this prompt: | | Protocol version mismatch. Continue anyway? (yes or no)
What do you get from evaluating
swank::*swank-wire-protocol-version* on the remote lisp, and slime-protocol-version on the local emacs?
If they are not the same, you need to upgrade on at least one end. In my experience, it works okay to upgrade swank in a running lisp image, and to reload slime.el in a running emacs, and open a new connection.
- Harald