Quoth Helmut Eller heller@common-lisp.net:
The ignored argument (_) is the coding system.
Ah. Well that's clear :)
Add the :coding-system argument there
Eh? Surely it's going to depend how the lambda function is called, and regardless of the value of _ I fail to see how this will make it into the call to swank:start-server as it stands.
or look at slime-init-command for the default definition.
I did but it wasn't much help (to me).
Anyway, I've finally got it working the brute force way:
(setq slime-lisp-implementations '(sbcl ("sbcl" "--core" "/usr/local/lib/sbcl/sbcl.core-with-swank") :init (lambda (port-file _) (format "(swank:start-server %S :coding-system "utf-8-unix")\n" port-file))))
Clearly this is not what you meant so it'd be good to know how it should be done.
And perhaps it should be added to the manual too.
Sebastian