[slime-devel] Re: Unicode support for CMUCL

Madhu enometh at meer.net
Sun Aug 3 02:45:45 UTC 2008


* Raymond Toy <4894AA9A.5000804 at gmail.com> :
Wrote on Sat, 02 Aug 2008 14:42:34 -0400:
|> The commit calls MAKE-FD-STREAM with an EXTERNAL-FORMAT keyword argument
|> But MAKE-FD-STREAM in code/fd-stream and the structure do not support
|> this yet?
|
| It's only supported if you have a unicode build, which hasn't been
| officially released yet.

I wanted to point out that the code for SYS:MAKE-FD-STREAM in
"code/fd-stream.lisp" in the `unicode-utf16-branch' branch (CVS
2008-07-11) does not support an :EXTERNAL-FORMAT keyword argument.
Perhaps there is a mismatch between your build and the CVS sources?

Reverting the committed patch hunk quoted below lets SLIME work with the
unicode build (for usual iso-latin-1 interactions at least)

|>    (sys:make-fd-stream fd :input t :output t :element-type 'base-char
|> -                      :buffering buffering))
|> +                      :buffering buffering
|> +                      #+unicode :external-format
|> +                      #+unicode external-format))

| This works for me.  To be useful, you might want to do (setf
| *default-external-format* :utf-8) or something.  You need to set up
| slime too to be able to see something useful.

--
Madhu




More information about the slime-devel mailing list