How do I get slimv working with SBCL?

801 Views Asked by At

I am trying to get slimv (latest version from hg) working with SBCL 1.2.2. When I add let g:slimv_impl="sbcl" to .vimrc and try to let slimv start a SWANK server the load fails with this error:

; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "CODE-TRACE-TABLE-OFFSET-SLOT" not found in the SB-VM package.
;   
;       Line: 1406, Column: 70, File-Position: 55999
;   
;       Stream: #<SB-SYS:FD-STREAM
;                 for "file ~/.vim/bundle/slimv/slime/swank-sbcl.lisp"
;                 {1002D56253}>
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 ERROR condition
;   caught 1 STYLE-WARNING condition
;   printed 1 note
; compilation aborted after 0:00:00.267

A quick google led me to suspect that the bundled SLIME version is too old, so I got the latest release (2.10) and replaced the slime folder with it. Now starting and connecting to the lisp process seems to work fine, but the REPL is broken. I can enter code but pressing return does not output a result and does not print the prompt again. Eval-Defun etc. do not seem to work either.

My VIM is version 7.4, compiled with Python (2.7) support. slimv is working fine when using CLISP.

1

There are 1 best solutions below

0
Tamas Kovacs On

Yesterday I wrote a workaround in a comment, but I've just fixed the problem in slimv as well. I have also updated the bundled Slime to the latest version, see commits 3ebb6d8 and d26110f on github. So I hope everything is working fine now. Please let me know if you still experience any problems using slimv.