[slime-devel] (code-char 256), connections dies with 256

Hi, when I enter (code-char 256) in the repl, it dies, and in the minibuffer emacs says: Lisp connection died unexpectedly; exit code 256 (to that tune). Using sbcl 0.9.8.0-1ubuntu3 and slime HEAD from cvs on Linux 2.6.15-27-686. Known thing? Florian -- Florian Ebeling florian.ebeling@gmail.com

Hi, on clisp on Windows all is OK. Try it without slime, only in sbcl. -Regargds, Anton Florian Ebeling пишет:
Hi,
when I enter (code-char 256) in the repl, it dies, and in the minibuffer emacs says: Lisp connection died unexpectedly; exit code 256 (to that tune).
Using sbcl 0.9.8.0-1ubuntu3 and slime HEAD from cvs on Linux 2.6.15-27-686.
Known thing?
Florian

"Florian Ebeling" <florian.ebeling@gmail.com> writes:
when I enter (code-char 256) in the repl, it dies, and in the minibuffer emacs says: Lisp connection died unexpectedly; exit code 256 (to that tune).
Using sbcl 0.9.8.0-1ubuntu3 and slime HEAD from cvs on Linux 2.6.15-27-686.
Works here with Debian's SBCL 1.0 and slime HEAD. ; SLIME 2006-12-15 cl-user> (code-char 256) #\LATIN_CAPITAL_LETTER_A_WITH_MACRON -- Paul Collins Wellington, New Zealand Dag vijandelijk luchtschip de huismeester is dood

Perhaps he has an SBCL that doesn't have Unicode support? 256 is not a valid code-point for regular ASCII. Dying seems like a pretty extreme response, though. :-) -nash On Sun, Dec 17, 2006 at 11:54:48AM +1300, Paul Collins wrote:
"Florian Ebeling" <florian.ebeling@gmail.com> writes:
when I enter (code-char 256) in the repl, it dies, and in the minibuffer emacs says: Lisp connection died unexpectedly; exit code 256 (to that tune).
Using sbcl 0.9.8.0-1ubuntu3 and slime HEAD from cvs on Linux 2.6.15-27-686.
Works here with Debian's SBCL 1.0 and slime HEAD.
; SLIME 2006-12-15 cl-user> (code-char 256) #\LATIN_CAPITAL_LETTER_A_WITH_MACRON
-- Paul Collins Wellington, New Zealand
Dag vijandelijk luchtschip de huismeester is dood _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
-- Please do not mock other religons in your quest for the Spaghetti god. - anonymous

"Florian Ebeling" <florian.ebeling@gmail.com> writes:
when I enter (code-char 256) in the repl, it dies, and in the minibuffer emacs says: Lisp connection died unexpectedly; exit code 256 (to that tune).
Using sbcl 0.9.8.0-1ubuntu3 and slime HEAD from cvs on Linux 2.6.15-27-686.
Do you have (setq slime-net-coding-system 'utf-8-unix) set in .emacs? Also, your SBCL is almost a year older then your Slime, which may very well be a factor here. I'd suggest you update your SBCL (preferably from upstream). Cheers, -- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."

when I enter (code-char 256) in the repl, it dies, and in the minibuffer emacs says: Lisp connection died unexpectedly; exit code 256 (to that tune).
Using sbcl 0.9.8.0-1ubuntu3 and slime HEAD from cvs on Linux 2.6.15-27-686.
Do you have
(setq slime-net-coding-system 'utf-8-unix)
That's actually the key. The new sbcl uses the long char name, which consists only of safe letters. When I made it return a string containing the A-with-macro, the connection died again. Setting slime-net-coding-system yields the correct result, then. I guess the packaged slimes look after what the host system uses for encoding and adapts, only I use cvs HEAD. Error message would be nicer, though. Thanks for figuring to everybody! Florian -- Florian Ebeling florian.ebeling@gmail.com
participants (5)
-
Anton Vodonosov
-
Florian Ebeling
-
nash e. foster
-
Nikodemus Siivola
-
Paul Collins