[slime-devel] Re: C-c C-k with external-format latin

Helmut Eller heller at common-lisp.net
Fri Nov 3 13:28:30 UTC 2006


* Nicolas Neuss [2006-11-03 11:58+0100] writes:

> Unfortunately, this does not work.  Trying C-c C-k on a file "test.lisp"
> with the content
>
> ;;; -*- slime-coding: iso-latin-1-unix -*-
> (in-package :cl-user)
> (defun test () "Prüfung" nil)
>
> I obtain the error
>
> decoding error on stream
> #<SB-SYS:FD-STREAM for "file /home/neuss/CL-HOME/mathematikum/test.lisp" {1002CA2E81}>
> (:EXTERNAL-FORMAT :UTF-8):
>   the octet sequence (252 102 117 110) cannot be decoded.
>    [Condition of type SB-INT:STREAM-DECODING-ERROR]
>
> Does C-c C-k on such a file work for you?

Yes, it does.  Note that file local variables are only set when you
open the file, not when you insert the -*- ... -*-.  Verify that it is
set properly, by evaluating something like M-: slime-coding in the
buffer.

Helmut.




More information about the slime-devel mailing list