unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emac in large projects
@ 2007-02-19 15:57 Ask
  2007-02-19 18:52 ` Robert Thorpe
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ask @ 2007-02-19 15:57 UTC (permalink / raw)
  To: help-gnu-emacs

Hi

I am a new learner of Emacs. How is it used for large projects. At
least, how do we find all occurrences of a function, how do we jump to
definition of a variable or function. There are other tools to do that
- gid, cscope etc. Can it be done from within the emacs editor
itself ?

Thanks

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: emac in large projects
@ 2007-02-20 21:42 A Soare
  0 siblings, 0 replies; 9+ messages in thread
From: A Soare @ 2007-02-20 21:42 UTC (permalink / raw)
  To: Emacs   Help  [help-gnu-emacs]

You must create a TAGS file first of all, in which one keeps the symbols from your project.

For example, to create a file TAGS of all symbols of EMACS you can use from a Shell

# find -name *.el -o -name *.[ch] | xargs etags

(see the documentation from find, xargs, etags)

II. From Emacs:

M-x visit-tags-table RET

<path-to-your-TAGS-file>

then M-. for the first occurence of a definition of a symbol
or

C-u 1 M-. for the next occurences, etc.

And for more see the doc from emacs info, node TAGS.

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.4825.1172007761.2155.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2007-03-01 16:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19 15:57 emac in large projects Ask
2007-02-19 18:52 ` Robert Thorpe
2007-02-19 18:58 ` Pascal Bourguignon
2007-02-19 19:21   ` Tassilo Horn
2007-02-20 15:26     ` Hadron
2007-03-01 14:49 ` Ken Goldman
2007-03-01 16:07   ` Hadron
  -- strict thread matches above, loose matches on Subject: below --
2007-02-20 21:42 A Soare
     [not found] <mailman.4825.1172007761.2155.help-gnu-emacs@gnu.org>
2007-02-20 22:43 ` Hadron

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).