Open parenthesis in the documentation string confuses slime-compile-defun.
Exmaple:
(defun f2 () " ( ... ) " )
Note, open parenthesis shuld be the first character of the line.
Trying to compile this with slime-compile-defun signals the following:
READ from #1=#<INPUT STRING-INPUT-STREAM>: a token consisting only of dots cannot be meaningfully read in [Condition of type SYSTEM::SIMPLE-READER-ERROR]
Looks like on the emacs side slime takes this open parenthesis into account when picking out parentheses-balanced portion of text.
Regards, -Anton