Using Tags
Run tags from a shell in current
directory on code extensions. If just one directory,
etags *.c *.h is sufficient (in C). For a
source tree, do something like this:
find . -name '*.cpp' -o -name '*.h' -o -name '*.c' -print0
| xargs $(ETAGS) --extra=+q --fields=+fksaiS --c++-kinds=+px --append |
Then emacs responds to the following commands:
| Binding
|
|
Command
|
|
Notes
|
| M-.
|
|
undo
|
|
Go to symbol definition.
|
| M-0 M-.
|
|
dabbrev-completion
|
|
Go to next match.
|
| M-*
|
|
fill-paragraph
|
|
Return to your starting point.
|
| M-.
|
|
M-x tags-search
|
|
Initiate a tags search.
|
| M-,
|
|
M-x tags-search
|
|
Go to next match.
|
|
|