[slime-devel] clisp without unicode patch
Joerg-Cyril.Hoehle at t-systems.com
Tue Jan 17 13:24:31 UTC 2006
I thought about alternatives and rejected them. Probably this patch is just fine as is and it should not raise an error when Emacs uses UTF-8 or anything and clisp was only built with 8bit strings --without-unicode.
2006-01-14 Joerg Hoehle <hoehle at users.sourceforge.net>
* swank-clisp (find-encoding): work in a 8bit clisp w/o #-UNICODE.
--- swank-clisp.lisp.orig 2005-11-12 00:43:43.000000000 +0100
+++ swank-clisp.lisp 2006-01-14 13:17:08.000000000 +0100
@@ -122,7 +122,9 @@
- (ext:make-encoding :charset charset :line-terminator :unix)))
+ (ext:make-encoding :charset (if (member :unicode *features*)
+ charset :default)
+ :line-terminator :unix)))
(defimplementation accept-connection (socket
&key (external-format :iso-latin-1-unix)
The idea in the present patch is that (untested) the same set of slime.fas files might possibly work in both builds of clisp: with and without unicode. But you'd need to compile from the 8bit version.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 674 bytes
Desc: not available
More information about the slime-devel