From: Tobias C. Rittweiler
Subject: Re: M-. in slime? Is there a find-function feature?
Date: 
Message-ID: <87pru1q9wy.fsf@freebits.de>
Andreas Davour <·······@updateLIKE.uu.HELLse> writes:

> I've noticed that there's one thing I miss in slime, and that's the
> ability to jump to the definition of a function with M-. (which is how
> you can do it with elisp files) and it's just a terrible job to browse a
> multi file project without such a feature.
>
> Anyone how can tell me where to look? There is a caller/callee xref
> package, but that's not what I want.
>
> /Andreas

M-. does not only exist in Slime but really kicks ass compared with
usual tags finding as found in other programming modes.

  -T.

From: Evan Monroig
Subject: Re: M-. in slime? Is there a find-function feature?
Date: 
Message-ID: <87skyw949l.fsf@obakechan.net>
Andreas Davour <·······@updateLIKE.uu.HELLse> writes:

> "Tobias C. Rittweiler" <···@freebits.de.invalid> writes:
>
>> Andreas Davour <·······@updateLIKE.uu.HELLse> writes:
>>
>>> I've noticed that there's one thing I miss in slime, and that's the
>>> ability to jump to the definition of a function with M-. (which is how
>>> you can do it with elisp files) and it's just a terrible job to browse a
>>> multi file project without such a feature.
>>>
>>> Anyone how can tell me where to look? There is a caller/callee xref
>>> package, but that's not what I want.
>>
>> M-. does not only exist in Slime but really kicks ass compared with
>> usual tags finding as found in other programming modes.
> 
> It just landed me in the elisp debugger, which confuses me no end. Now
> when I had read your posting and tried again it actually asked me for a
> name, and then entered the debugger. I wonder what I have changed...

If that may be of any help to you, in slime-mode on my setup the
shortcut M-. is bound to slime-edit-definition, and M-, to
slime-pop-find-definition-stack (I typically do M-, after you are done
with looking at the definition shown me by M-.)

Evan
From: Vagif Verdi
Subject: Re: M-. in slime? Is there a find-function feature?
Date: 
Message-ID: <f4dde73e-6b4f-42c6-864f-9f38c233b3fa@h11g2000prf.googlegroups.com>
On Mar 11, 5:26 pm, Evan Monroig <·········@obakechan.net> wrote:
> If that may be of any help to you, in slime-mode on my setup the
> shortcut M-. is bound to slime-edit-definition, and M-, to
> slime-pop-find-definition-stack (I typically do M-, after you are done
> with looking at the definition shown me by M-.)
>
> Evan

While we are at it, are you using slime with tramp ?
When M-. my emacs crashes.
This is only in slime with tramp on emacs from cvs.
Without tramp it works fine. In fact with stable emacs (not from cvs)
slime with tramp also works fine.
But tramp in this case is slow. cvs version is fast (it caches.)
From: Evan Monroig
Subject: Re: M-. in slime? Is there a find-function feature?
Date: 
Message-ID: <87myp48tps.fsf@obakechan.net>
Vagif Verdi <···········@gmail.com> writes:

> On Mar 11, 5:26 pm, Evan Monroig <·········@obakechan.net> wrote:
>> If that may be of any help to you, in slime-mode on my setup the
>> shortcut M-. is bound to slime-edit-definition, and M-, to
>> slime-pop-find-definition-stack (I typically do M-, after you are done
>> with looking at the definition shown me by M-.)
>>
>> Evan
>
> While we are at it, are you using slime with tramp ?

No.  So I guess that I can't help you on this one :).

Evan
From: lisp linux
Subject: Re: M-. in slime? Is there a find-function feature?
Date: 
Message-ID: <3JudneQGifXsVkXanZ2dnUVZ_oWdnZ2d@comcast.com>
Andreas Davour wrote:
> "Tobias C. Rittweiler" <···@freebits.de.invalid> writes:
> 
>> Andreas Davour <·······@updateLIKE.uu.HELLse> writes:
>>
>>> I've noticed that there's one thing I miss in slime, and that's the
>>> ability to jump to the definition of a function with M-. (which is how
>>> you can do it with elisp files) and it's just a terrible job to browse a
>>> multi file project without such a feature.
>>>
>>> Anyone how can tell me where to look? There is a caller/callee xref
>>> package, but that's not what I want.
>> M-. does not only exist in Slime but really kicks ass compared with
>> usual tags finding as found in other programming modes.
> 
> It just landed me in the elisp debugger, which confuses me no end. Now
> when I had read your posting and tried again it actually asked me for a
> name, and then entered the debugger. I wonder what I have changed...
> 
> I'll have to investigate.
I have observed that the file you are currently in needs to have been loaded
for M-. to work in slime.
I could be wrong. Would appreciate someone confirming.

-Antony
From: Tobias C. Rittweiler
Subject: Re: M-. in slime? Is there a find-function feature?
Date: 
Message-ID: <87d4pzdjgy.fsf@freebits.de>
lisp linux <·········@lisp.linux> writes:

> > It just landed me in the elisp debugger, which confuses me no end. Now
> > when I had read your posting and tried again it actually asked me for a
> > name, and then entered the debugger. I wonder what I have changed...
> >
> > I'll have to investigate.
>
> I have observed that the file you are currently in needs to have been loaded
> for M-. to work in slime.
> I could be wrong. Would appreciate someone confirming.

That's correct, it asks the underlaying Lisp process for the source
location. (If the underlaying Lisp cannot provide any information, you
can still use a TAGS file, see `slime-edit-definition-fallback-function'.)

It shouldn't land you in the debugger, though.

  -T.