[slime-devel] Unicode character misbehavior?

Stas Boukarev stassats at gmail.com
Sat Oct 29 04:15:31 UTC 2011


On Oct 29, 2011 2:44 AM, "Jeffrey Cunningham" <jeffrey at jkcunningham.com>
wrote:
>
> I discovered a way to crash Slime by compiling a simple sexp containing a
string. Here are the conditions:
>
> 1. Connect to a running SBCL via swank (M-x slime-connect).
> 2. Cut and paste the sexp below containing the smiley-face into a lisp
file.
> 3. Compile the fragment.
>
> That's it. When I do this the inferior Lisp process is terminated "by
remote peer".
>
> (let ((dangerous-string "This is a smiley-face: ☺"))
>   (print "Important safety tip: don't do this."))
>
> I normally only work with UTF-8 characters, and my ignorance of handling
other character sets is probably the culprit here.
>
> What should I do if I want to enable slime to work with strings like this?

What version of Emacs are you using?

--
With best regards, Stas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20111029/1378a230/attachment.html>


More information about the slime-devel mailing list