Dave Roberts ldave@droberts.com writes:
On Tue, 2008-08-05 at 09:19 +0200, Tobias C. Rittweiler wrote:
Dave Roberts ldave@droberts.com writes:
Thanks. There was nothing in *slime-events* at all. The command is there, but no output or diagnostics. Where does SWANK log things when *log-events* is set to T? It looks like swank:*log-output* is set to standard error, but I'm not sure what that points to when the SBCL instance is started using M-x slime in Emacs.
It's in *inferior-lisp*.
Ah, gotcha. Thanks. It looks like SBCL threw a SB-INT:STREAM-ENCODING-ERROR. The last bit of the output in *inferior-lisp* is:
...[lots of HTML output snipped]...
</body> </html>\" " :repl-result) ;; Event history end. ;; Backtrace: ;; Connection to Emacs lost. [ ;; condition: Unable to display error condition: #<SB-SYS:FD-STREAM for "a socket" {B28D9A9}> is closed. ;; type: SB-INT:STREAM-ENCODING-ERROR ;; encoding: NIL style: :SPAWN dedicated: NIL]
Any idea how I should interpret that?
Perhaps you have to enable unicode:
Add ':coding-system utf-8-unix' to the sbcl entry in your `slime-lisp-implementations', and set `slime-net-coding-system' to `utf-8-unix'.
-T.