[slime-devel] invalid protocol message / illegal sharp macro character

Tamas Papp tkpapp at gmail.com
Thu Aug 25 14:14:14 UTC 2011


When compiling a code snippet with C-c C-c, I get the following error
in SLIME:

Invalid protocol message:
SB-INT:SIMPLE-READER-ERROR at 191 (line 3, column 41) on #<SB-IMPL::STRING-INPUT-STREAM

                                                           {10049826B1}>:
  illegal sharp macro character: #\ 

"(:emacs-rex (swank:compile-string-for-emacs \"(defun show-pdf (pathname)
  (external-program:start \\\"xpdf\\\" (list (namestring pathname) \\\"-z page\\\")))
\" #(\"external.lisp\" 0 13 (buffer-name #2 buffer #<buffer external.lisp> font-lock-face buffer-menu-buffer mouse-face highlight help-echo \"mouse-2: select this buffer\")) (quote ((:position 1951) (:line 43 1))) \"/home/tamas/src/lisp/cl-pgf/external.lisp\" (quote nil)) \":cl-pgf\" t 88)
"

I pasted *slime-events* at http://paste.lisp.org/display/124254.

C-c C-k compiles everything cleanly, there are no # characters in the
entire file.  I am using the latest SLIME from the repo, GNU Emacs
24.0.50.1 "(x86_64-pc-linux-gnu, GTK+ Version 2.24.5) of 2011-08-21 on
keller, modified by Debian", and SBCL 1.0.50.0.debian.  The error
shows up with other version of SLIME, but not with Emacs23, and it is
not specific to the particular code snippet.

Thanks,

Tamas





More information about the slime-devel mailing list