[plug] trying to use emacs "tags" facility
Derek Fountain
derekfountain at yahoo.co.uk
Wed Jan 29 18:12:11 WST 2003
> I am told that there is a facility within emacs to define "tags". My
> understanding of this facility is that it allows you to automatically
> navigate to the definition of a given class/function when going through
> C/C++ source code.
Others have offered advice, but here's mine. :o)
Build a TAGS file with this (or similar):
cd /my/src/tree
find . -name "*.[ch]" | xargs etags -a
then fire up emacs. Position the cursor on any symbol (function name, #define,
etc.) and hit ESC-. then Enter to jump to that symbol definition. The correct
source file will be loaded if necessary. Hit ESC-* then Enter to jump back
up. You can build a stack to work your way up and down the function calls.
More information about the plug
mailing list