[slime-devel] TYPE ERROR: The value 9 is not of type LIST

vanekl vanek at acd.net
Sat Aug 29 13:06:53 UTC 2009

Sebastian Tennant <sebyte <at> smolny.plus.com> writes:

> Quoth vanekl <vanek <at> acd.net>:
> >> Non-ASCII characters break the connection to the REPL:
> > Check to see whether you have set the slime connection to utf8.
> > You should have something like this is your .emacs file:
> >
> > (defun start-slime ()
> >   (interactive)
> >   (setq slime-net-coding-system 'utf-8-unix)
> >   (slime-connect "" 4005))
> Thanks for such a quick response.
> I use an eval-after-load form:
>  (eval-after-load "slime"
>    '(progn
>       (global-set-key "\C-cs" 'slime-selector)
>       (setq slime-net-coding-system 'utf-8-unix)
>       ))
> Unfortunately, setting slime-net-coding-system makes no difference:
>  CL-USER> "ğ"
>  "ğ"
>  ;; hung

Did you check your emacs available coding systems:
C-x <RTN> f <TAB>

Scroll down to the bottom to make sure utf-8-unix is supported on your system.

What is LANG set to? (env var)

Do you have these problems locally when using sbcl?

When you list coding systems (M-x list-coding-systems) do you see:

 The supported Emacs character sets are:

What coding system do you use when you start swank?
(swank:create-server :port 4005 :dont-close t :coding-system "utf-8-unix")?

More information about the slime-devel mailing list