[slime-devel] encoding problem ?

Jean-Christophe Helary fusion at mx6.tiki.ne.jp
Tue Apr 25 01:57:28 UTC 2006


> In your .emacs you do it like this, so you can not just set the needed
> coding-system but also have it different depending on the lisp
> implmenetation used:
>
> (require  'slime)
> (setf slime-lisp-implementations
>       '((sbcl ("sbcl") :coding-system utf-8-unix)
>         (clisp ("clisp") :coding-system utf-8-unix)
>         (cmucl ("lisp") :coding-system iso-latin-1-unix)))
> (slime-setup)

Ignas, thank you for your suggestion.

FYI, I am a total Slime/Emacs beginner so I am not sure I understand  
everything that is going on here...

My .emacs for Slime is:

;; slime-mode

(add-to-list 'load-path "/Users/bubu/Library/Application\ Support/ 
Emacs/slime-mode/")
(setq inferior-lisp-program "/sw/bin/clisp")
(require 'slime)
(setf slime-lisp-implementations
       '((clisp ("clisp") :coding-system utf-8-unix)))
(setq slime-net-coding-system 'utf-8-unix)
(slime-setup)


And I still have the following message when I want to load my file:

> invalid byte #xE7 in CHARSET:ASCII conversion
>    [Condition of type SIMPLE-ERROR]

Since I don't understand the error message itself I really have no  
idea where to look for information.

I have set my "Multilingual Environment" to UTF-8 too. I can open the  
file for edit without any problem, and it shows the Japanese and the  
French.

Even if I set the multilingual environment to Ascii the file is  
properly opened.

Jean-Christophe Helary



More information about the slime-devel mailing list