[slime-devel] swank:tokenize-symbol-thoroughly

Stas Boukarev stassats at gmail.com
Mon Nov 2 00:26:40 UTC 2009


Derrell Piper <ddp at electric-loft.org> writes:

> I'm running cvs head and using slime-fancy (which includes slime- 
> autodoc).
>
> swank:tokenize-symbol-thoroughly is looking for a package specifier  
> and complains if it sees more than two colons.  It thinks it's parsing  
> a symbol but this chunk of code causes it to signal an error when  
> called with the format control string:
>
> (with-slots (n-start n-pairs min-word legal-chars pairs pair-table) db
>    (when verbose
> 	(format t "n-start: ~d, n-pairs: ~d, min-word: ~d~%" n-start n-pairs  
> min-word))
>    (dotimes (i n-pairs)
>
> (NB: this obviously isn't a fully formed sexp, just the the smallest  
> text blob I could reproduce this with...)
>
> To reproduce this, load slime (w/ autodoc or fancy), bring the above  
> four lines up in a lisp buffer and try to C-n to the last line  
> (backtrace below).  There's something about the first two lines that's  
> relevant.  If you delete either the (with-slots...) or (when  
> verbose...) (or both) this doesn't happen.
Fixed in CVS, thanks for the report.

-- 
With best regards, Stas.




More information about the slime-devel mailing list