Categories: CategoryEmacs

see: *

improved ctags. Works for many languages.

Create tags for emacs:

find . -type f -name "*.h" -or -name "*.cpp" -or -name "*.f" | xargs etags.emacs21

Using it with emacs:

M-x visit-tags-table  FILE     
// Select the tag file, "FILE", to use. 

M-. [TAG]                           
//Find the first definition of TAG. The default tag is the identifier under the cursor. 

// Pop back to where you previously invoked "M-.". 

C-u M-.
//Find the next definition for the last tag.