72 |
part of tag lines in the tags file, so we call them "explicit". |
part of tag lines in the tags file, so we call them "explicit". |
73 |
|
|
74 |
- Why implicit tag names are even better |
- Why implicit tag names are even better |
75 |
The purpose of implicit tag names is to reduce the number of tag names |
Often tag names are redundant; this happens when the name of a tag is an |
76 |
in a tags file, thus reducing the size of the tags file. When the user |
easily guessable substring of the tag pattern. We define a set of rules |
77 |
|
to decide whether it is possible to deduce the tag name from the pattern, |
78 |
|
and make an unnamed tag in those cases. The name deduced from the |
79 |
|
pattern of an unnamed tag is the implicit name of that tag. The use of |
80 |
|
implicit tag names reduces the size of the tags file. When the user |
81 |
looks for a tag, and Emacs founds no explicit tag names that match it, |
looks for a tag, and Emacs founds no explicit tag names that match it, |
82 |
Emacs then tries to match the tag with an implicit tag name. Such a |
Emacs then tries to match the tag with an implicit tag name. Such a |
83 |
match occurs when the tag matches a pattern, subject to the satisfaction |
match occurs when the tag matches a pattern, subject to the satisfaction |