Quesstion about Alt-. navigation to function definitions

Helmut Eller eller.helmut at gmail.com
Sun Oct 27 07:06:42 UTC 2013


On Sat, Oct 26 2013, Jeff Cunningham wrote:

[...]
> Is there any remedy for this? Using grep to move around works but is
> annoyingly cumbersome and time consuming.

I don't see any obvious problem with the bits you posted and without a
reproducable test case it's hard to say what the actual problem is.

One problem could be that you have some declaration/proclamation
somewhere, e.g. (proclaim '(optimize (debug 0))).  If you're using SBCL
and debug is 0 then SLIME can't find the definition for a name.  I have
(proclaim '(optimize (debug 2))) in my .sbclrc and that seems to work
quite OK.

Another cause could be that you load the source and not the fasl file.
M-. does typically not work so well for non-compiled functions.

Yet another problem could be that there is no IN-PACKAGE form in the
file so that SLIME searches in the wrong package. (That's unlikey, tho,
as compiling an individual function seems to work.)

In general, M-. seems to be used by many people therefore I think we
would note regressions on our side pretty quickly.

Helmut



More information about the slime-devel mailing list