On Fri, Dec 11, 2015 at 9:33 AM, Luís Oliveira <luismbo@gmail.com> wrote:
On Thu, Dec 10, 2015 at 8:02 PM, Mirko Vukovic <mirko.vukovic@gmail.com> wrote:
>  10: (SWANK:EVAL-FOR-EMACS (SWANK:SWANK-EXPAND-1 NIL) "#:display-it" 65)

As Stas had anticipated, this happens when there's no s-exp starting
where the cursor (or point in Emacs-speak) is  and slime-sexp-at-point
returns NIL, but swank-expand-1 is expecting a string. You must place
the cursor on the opening parenthesis.

Perhaps slime-expand-1 could be more DWIM-ish and try harder to find a
s-exp to macro expand, but certainly signalling a CL TYPE-ERROR is
unfortunate. As Stas mentioned, this error has been in SLIME for a
very long time. I have a fix to avoid the error that I'll push
shortly.

--
Luís Oliveira
http://kerno.org/~luis/

Thanks for identifying the issue - I look forward to the fix.