[slime-devel] Float representation problem

Stas Boukarev stassats at gmail.com
Wed Jul 22 11:26:20 UTC 2009


Christian Lynbech <christian at defun.dk> writes:

> I  just  stumbled  upon  a  problem  with  fuzzy  completion.  This  was
> investigated using a  freshly updated slime from CVS  and SBCL 1.0.28 on
> an intel mac.
>
> If one adds 
>
>     (setq *read-default-float-format* 'double-float)
>
> to .sbclrc, deletes ~/.slime and then restart the slime session,
> completion stops working. One gets an error such as this (in emacs):
>
>     Debugger entered--Lisp error: (error "Format specifier doesn't match argument type")
>       format(" %s %-8.2f" "-f--t---" "42.67858333333333d0")
>       (insert (format " %s %-8.2f" classification-string score))
>
I fixed the issue with fuzzy completion, but the fact that
*read-default-float-format* woud be different in other threads,
including repl, remains.

-- 
With best regards, Stas.




More information about the slime-devel mailing list