By default, ABCL's streams use the platform-native end-of-line conventions. This makes is impossible for Slime to interact with Swank when Swank is running on ABCL/Windows, since Slime expects Unix EOLs. The attached patch fixes that by explicitly setings the EOL convention for Swank's network streams to LF.
on Thursday, April 16, 2009, 10:23:07 AM Vladimir wrote:
By default, ABCL's streams use the platform-native end-of-line conventions. This makes is impossible for Slime to interact with Swank when Swank is running on ABCL/Windows, since Slime expects Unix EOLs. The attached patch fixes that by explicitly setings the EOL convention for Swank's network streams to LF.
Hello Vladimir,
I think, instead of this, you may just add
(setf slime-net-coding-system 'utf-8-unix)
to your .emacs file.
Best regards, - Anton
Anton Vodonosov avodonosov@yandex.ru writes:
Hello Vladimir,
I think, instead of this, you may just add
(setf slime-net-coding-system 'utf-8-unix)
to your .emacs file.
This just makes Swank die with:
Debugger invoked on condition of type SIMPLE-ERROR: Unsupported coding system: "utf-8-unix"
(ABCL trunk, XEmacs-21.5-test-2009-01-06, both on Windows). Should it work? I don't think changing the coding system makes ABCL automatically choose unixy EOLs...
Looks like you need to update slime from CVS.
17.04.09, 19:00, "Vladimir Korablin" vkorablin@gmail.com:
Anton Vodonosov avodonosov@yandex.ru writes:
Hello Vladimir,
I think, instead of this, you may just add
(setf slime-net-coding-system 'utf-8-unix)
to your .emacs file.
This just makes Swank die with: Debugger invoked on condition of type SIMPLE-ERROR: Unsupported coding system: "utf-8-unix" (ABCL trunk, XEmacs-21.5-test-2009-01-06, both on Windows). Should it work? I don't think changing the coding system makes ABCL automatically choose unixy EOLs... _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
On Fri, Apr 17, 2009 at 10:23 PM, Anton Vodonosov avodonosov@yandex.ru wrote:
Looks like you need to update slime from CVS.
Weird. I see your patch implementing FIND-EXTERNAL-FORMAT in the this list's archives, see the message from Helmut Eller acknowledging it and saying it's been committed, see the 2009-03-09 entry in the ChangeLog, but I don't see it in the actual swank-abcl.lisp! I just made a fresh checkout of slime sources, then grabbed the CVS snapshot from http://common-lisp.net/project/slime/snapshots/slime-current.tgz -- still no FIND-EXTERNAL-FORMAT in swank-abcl.lisp.
Also, when I say "cvs log swank-abcl.lisp", the latest entry is from 2009-01-10. It seems that your patch wasn't actually committed...
Vladimir Korablin vkorablin@gmail.com writes:
Also, when I say "cvs log swank-abcl.lisp", the latest entry is from 2009-01-10. It seems that your patch wasn't actually committed...
Indeed. I just committed Anton Vodonosov's patch, now for real! :-)
-T.