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

Helmut Eller heller at common-lisp.net
Sat Apr 2 08:59:01 UTC 2011

* Paulo Madeira [2011-03-30 23:15] writes:

> I don't know then... To avoid interning, this feature was muffled.
> Maybe it could be customizable, i.e. have yet-another Swank
> configuration variable, which default I wouldn't mind to be the
> non-interning option. The backend support is still there, it's just
> that the reader in swank:find-definitions-for-emacs is now
> swank::parse-symbol instead of swank::from-string.

A compromise would be to allow interning if the user explicitly enters
the name with C-u M-. but avoid interning when M-. is invoked without
prefix argument.

> I think there's yet another option. In Slime, slime-ed could call a
> Swank find-definitions function that interns, because it seems to me
> it's only called remotely by swank:ed-in-emacs, which already gets the
> dspec. Or even, have swank:ed-in-emacs find definitions and hand them
> to Slime (this option would probably be more appropriately named
> find-definitions-in-emacs).

Yes, swank:ed-in-emacs should call find-definitions directly 


More information about the slime-devel mailing list