Re: macroexpansion (slime-expand-1) results in error
Mirko Vukovic <[email protected]> Fri, 11 Dec 2015 09:38:35 -0500
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <CAO73BACXfjSg_X3yPO3Y3=UxYSuZ5LT0jD=GDFAOoLNvSnjoXA@mail.gmail.com> |
On Fri, Dec 11, 2015 at 9:33 AM, Luís Oliveira <[email protected]> wrote: > On Thu, Dec 10, 2015 at 8:02 PM, Mirko Vukovic <[email protected]> > 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.