2

Possible Duplicate:
How can I best do source code browsing inside emacs?

I have a large base to modify, and I want to be able to follow a function to its definition, the better to read it. Can I do this in emacs?

Community
  • 1
  • 1
alexgolec
  • 26,898
  • 33
  • 107
  • 159

1 Answers1

3

Yes. Use etags. It will take you to the definition of any symbol. Here is a cheat sheet full of commands for it. You'll have to generate a TAGS file using the etags program first. I use this on a mixed C/Ada codebase:

(find . -name '*.[ch]'
 find . -name '*.ad[bs]'
)|grep -v "CVS/Base" | sort | xargs etags -a
nmichaels
  • 49,466
  • 12
  • 107
  • 135