Dear all,
Sorry for bothering you, but I have no idea how to fix a problem that I have with slime. I'm working on MacOsX 10.3 and I'm trying to switch from MCL to Emacs (22.0.50.1 powerpc-apple-darwin7.9.0) + Slime (1.2.1) + CMUCL (cmucl-darwin-exp-2004-02-03-010-ppc-darwin). It works and I'm really enthusiastic about it.
But there is one problem. If I try to evaluate a s-expression that has more than 4040 characters, the lisp connection breaks with this message:
Lisp connection closed unexpectedly: connection broken by remote peer
In the *inferior-lisp* buffer, I get this:
* ;; Connection to Emacs lost. ;; [ Error in function LISP::ASSERT-ERROR: Short read: length=4091 pos=4090]
I attached a lisp file with two defuns. I can evaluate "test1", but not "test2" (test1 has 4040 characters, test2 has 4041 characters).
Does anybody have an idea how to fix this?
Thanks a lot, Martin
* martin [2005-09-14 16:04+0200] writes:
- ;; Connection to Emacs lost.
;; [ Error in function LISP::ASSERT-ERROR: Short read: length=4091 pos=4090]
I attached a lisp file with two defuns. I can evaluate "test1", but not "test2" (test1 has 4040 characters, test2 has 4041 characters).
Does anybody have an idea how to fix this?
This sounds like the old CMUCL bug. Ray fixed it in CMUCL 19a. I think there are newer CMUCL/Darwin snapshots than your version which probably include the fix.
There's also a fix in swank-cmucl.lisp, but it conditionalized with #-cmu19. Remove the #-cmu19 and see if it helps.
Helmut.