Next: Emerge Prev: Change Log Up: Programs
A "tag table" is a description of how a multi-file program is broken
up into files. It lists the names of the component files and the names
and positions of the functions (or other named subunits) in each file.
Grouping the related files makes it possible to search or replace
through all the files with one command. Recording the function names
and positions makes possible the `M-.' command which you can use to
find the definition of a function without having to know which of the
files it is in.
Tag tables are stored in files called "tag table files". The
conventional name for a tag table file is `TAGS'.
Each entry in the tag table records the name of one tag, the name of
the file that the tag is defined in (implicitly), and the position in
that file of the tag's definition.
Just what names from the described files are recorded in the tag
table depends on the programming language of the described file. They
normally include all functions and subroutines, and may also include
global variables, data types, and anything else convenient. Each name
recorded is called a "tag".
- Tag Syntax
- Tag syntax for various types of code and text
- Create Tag Table
- Creating a tag table with `etags'.
- Select Tag Table
- How to visit a tag table.
- Find Tag
- Commands to find the definition of a specific
- Tags Search
- Using a tag table for searching and replacing.
- Tags Stepping
- Visiting files in a tag table, one by one.
- List Tags
- Listing and finding tags defined in a file.
automatically generated by info2www