[slime-devel] swank:find-definitions-for-emacs doesn't support definition names other than symbols

Helmut Eller heller at common-lisp.net
Wed Mar 30 22:14:01 UTC 2011


* Paulo Madeira [2011-03-30 18:27] writes:

> M-. in slime no longer accepts dspecs other than symbols, since this
> change: http://bit.ly/dWJiDp
> I guess that change was made only to accommodate this complaint:
> http://bit.ly/fZLIxl
>
> This breaks two use-cases for me: to find a specific definition in ACL
> with M-. (method <name> [qualifiers] (<specializers>+)), and to issue
> swank:ed-in-emacs in certain IDE hooks/wrappers.

Where do all the qualifiers and specializers come from?  It seems
unlikely that somebody is willing type them in or even remember the
needed syntax.

> I can workaround both
> cases by extracting the `second' from the list recursively until I
> only have a symbol, and let Slime list me all definitions with that
> name, but I believe this is sub-optimal when I already know the
> definition I want. I believe this can happen in other implementations
> too.
>
> Perhaps using a recursive non-interning reader, e.g. stop reading if
> it cannot find-symbol.

I don't want to re-implement a reader.

Helmut





More information about the slime-devel mailing list