unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs Lisp: jumping to a definition?
@ 2009-09-02  9:58 Elena
  2009-09-02 10:25 ` Stefan Kamphausen
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Elena @ 2009-09-02  9:58 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

how do you jump to the definition of function/variable at point while
editing Emacs Lisp code?

Currently I use "C-h f", then I follow the link showed into the
function/variable documentation. Is there a way to achieve that with a
single command?

Thanks


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs Lisp: jumping to a definition?
  2009-09-02  9:58 Emacs Lisp: jumping to a definition? Elena
@ 2009-09-02 10:25 ` Stefan Kamphausen
  2009-09-02 11:09 ` Bernardo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Stefan Kamphausen @ 2009-09-02 10:25 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Elena <egarrulo@gmail.com> writes:

> how do you jump to the definition of function/variable at point while
> editing Emacs Lisp code?
>
> Currently I use "C-h f", then I follow the link showed into the
> function/variable documentation. Is there a way to achieve that with a
> single command?

try M-x find-function and bind it to a key that suits you well.


Cheers,
Stefan
-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs Lisp: jumping to a definition?
  2009-09-02  9:58 Emacs Lisp: jumping to a definition? Elena
  2009-09-02 10:25 ` Stefan Kamphausen
@ 2009-09-02 11:09 ` Bernardo
  2009-09-02 11:23 ` Pascal J. Bourguignon
  2009-09-02 15:04 ` Drew Adams
  3 siblings, 0 replies; 7+ messages in thread
From: Bernardo @ 2009-09-02 11:09 UTC (permalink / raw)
  To: help-gnu-emacs

> how do you jump to the definition of function/variable at point while
> editing Emacs Lisp code?
> 
> Currently I use "C-h f", then I follow the link showed into the
> function/variable documentation. Is there a way to achieve that with a
> single command?
> 
> Thanks
> 
maybe Tags could help (M-. and friends)?
(info "(emacs)Tags")




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs Lisp: jumping to a definition?
  2009-09-02  9:58 Emacs Lisp: jumping to a definition? Elena
  2009-09-02 10:25 ` Stefan Kamphausen
  2009-09-02 11:09 ` Bernardo
@ 2009-09-02 11:23 ` Pascal J. Bourguignon
  2009-09-02 11:42   ` Lennart Borgman
  2009-09-02 15:04 ` Drew Adams
  3 siblings, 1 reply; 7+ messages in thread
From: Pascal J. Bourguignon @ 2009-09-02 11:23 UTC (permalink / raw)
  To: help-gnu-emacs

Elena <egarrulo@gmail.com> writes:
> how do you jump to the definition of function/variable at point while
> editing Emacs Lisp code?
>
> Currently I use "C-h f", then I follow the link showed into the
> function/variable documentation. Is there a way to achieve that with a
> single command?

Of course, it's possible, but I wouldn't advise it.  It's good to go
thru the documentation from time to time... 

-- 
__Pascal Bourguignon__


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs Lisp: jumping to a definition?
  2009-09-02 11:23 ` Pascal J. Bourguignon
@ 2009-09-02 11:42   ` Lennart Borgman
  0 siblings, 0 replies; 7+ messages in thread
From: Lennart Borgman @ 2009-09-02 11:42 UTC (permalink / raw)
  To: Pascal J. Bourguignon; +Cc: help-gnu-emacs

On Wed, Sep 2, 2009 at 1:23 PM, Pascal J.
Bourguignon<pjb@informatimago.com> wrote:
> Elena <egarrulo@gmail.com> writes:
>> how do you jump to the definition of function/variable at point while
>> editing Emacs Lisp code?
>>
>> Currently I use "C-h f", then I follow the link showed into the
>> function/variable documentation. Is there a way to achieve that with a
>> single command?
>
> Of course, it's possible, but I wouldn't advise it.  It's good to go
> thru the documentation from time to time...


The documentation in elisp is where the code is.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Emacs Lisp: jumping to a definition?
  2009-09-02  9:58 Emacs Lisp: jumping to a definition? Elena
                   ` (2 preceding siblings ...)
  2009-09-02 11:23 ` Pascal J. Bourguignon
@ 2009-09-02 15:04 ` Drew Adams
  2009-09-02 15:09   ` Lennart Borgman
  3 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2009-09-02 15:04 UTC (permalink / raw)
  To: 'Elena', help-gnu-emacs

> how do you jump to the definition of function/variable at point while
> editing Emacs Lisp code?
> 
> Currently I use "C-h f", then I follow the link showed into the
> function/variable documentation. Is there a way to achieve that with a
> single command?

Others have mentioned Emacs tags. See also:

* Imenu
* Icicles Imenu and Tags browsing

http://www.emacswiki.org/emacs/Icicles_-_Tags_Enhancements

http://www.emacswiki.org/emacs/Icicles_-_Other_Search_Commands#IciclesImenu





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs Lisp: jumping to a definition?
  2009-09-02 15:04 ` Drew Adams
@ 2009-09-02 15:09   ` Lennart Borgman
  0 siblings, 0 replies; 7+ messages in thread
From: Lennart Borgman @ 2009-09-02 15:09 UTC (permalink / raw)
  To: Drew Adams; +Cc: help-gnu-emacs, Elena

On Wed, Sep 2, 2009 at 5:04 PM, Drew Adams<drew.adams@oracle.com> wrote:
>> how do you jump to the definition of function/variable at point while
>> editing Emacs Lisp code?
>>
>> Currently I use "C-h f", then I follow the link showed into the
>> function/variable documentation. Is there a way to achieve that with a
>> single command?
>
> Others have mentioned Emacs tags. See also:
>
> * Imenu
> * Icicles Imenu and Tags browsing
>
> http://www.emacswiki.org/emacs/Icicles_-_Tags_Enhancements
>
> http://www.emacswiki.org/emacs/Icicles_-_Other_Search_Commands#IciclesImenu


Maybe I ought to mention mlinks.el which is part of nXhtml.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-09-02 15:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-02  9:58 Emacs Lisp: jumping to a definition? Elena
2009-09-02 10:25 ` Stefan Kamphausen
2009-09-02 11:09 ` Bernardo
2009-09-02 11:23 ` Pascal J. Bourguignon
2009-09-02 11:42   ` Lennart Borgman
2009-09-02 15:04 ` Drew Adams
2009-09-02 15:09   ` Lennart Borgman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).