1

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.

user116432
  • 11
  • 2
  • Slimv author here. Yes, the bundled SLIME version is too old, I'm planning to replace it with the latest one. There is a new bug reported [here](https://github.com/kovisoft/slimv/issues/13) about a broken call to `:create-repl`. Please check if making the adjustments suggested in the bug report solves the problem (changing `swank:create-repl` => `swank-repl:create-repl` and `swank:listener-eval` => `swank-repl:listener-eval` in `ftplugin/swank.py`). – Tamas Kovacs Oct 10 '14 at 16:06
  • That did it. Thank you for your help, and of course for writing slimv :D – user116432 Oct 10 '14 at 17:17
  • I thank you for the test. I'm going to fix this problem soon. – Tamas Kovacs Oct 10 '14 at 20:23

1 Answers1

2

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.

Community
  • 1
  • 1
Tamas Kovacs
  • 1,495
  • 7
  • 9