macroexpansion (slime-expand-1) results in error

Mirko Vukovic mirko.vukovic at gmail.com
Fri Dec 11 14:38:35 UTC 2015


On Fri, Dec 11, 2015 at 9:33 AM, Luís Oliveira <luismbo at gmail.com> wrote:

> On Thu, Dec 10, 2015 at 8:02 PM, Mirko Vukovic <mirko.vukovic at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20151211/b051c42e/attachment.html>


More information about the slime-devel mailing list