Mercurial > emacs
comparison man/maintaining.texi @ 79471:ddf4e8b96231
(Tag Syntax): Revert this change: "Now --members is
the default for etags, not for ctags yet", as it is not in Emacs 22.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Thu, 22 Nov 2007 12:45:49 +0000 |
parents | 052499f7ba7d |
children | 02b9a9aa5b0c |
comparison
equal
deleted
inserted
replaced
79470:aecb6b1b4ceb | 79471:ddf4e8b96231 |
---|---|
184 @code{struct}, @code{union} and @code{enum}. | 184 @code{struct}, @code{union} and @code{enum}. |
185 @code{#define} macro definitions, @code{#undef} and @code{enum} | 185 @code{#define} macro definitions, @code{#undef} and @code{enum} |
186 constants are also | 186 constants are also |
187 tags, unless you specify @samp{--no-defines} when making the tags table. | 187 tags, unless you specify @samp{--no-defines} when making the tags table. |
188 Similarly, global variables are tags, unless you specify | 188 Similarly, global variables are tags, unless you specify |
189 @samp{--no-globals}, and so are struct members, unless you specify | 189 @samp{--no-globals}. Use of @samp{--no-globals} and @samp{--no-defines} |
190 @samp{--no-members}. Use of @samp{--no-globals}, @samp{--no-defines} | 190 can make the tags table file much smaller. |
191 and @samp{--no-members} can make the tags table file much smaller. | |
192 | 191 |
193 You can tag function declarations and external variables in addition | 192 You can tag function declarations and external variables in addition |
194 to function definitions by giving the @samp{--declarations} option to | 193 to function definitions by giving the @samp{--declarations} option to |
195 @code{etags}. | 194 @code{etags}. You can tag struct members with the @samp{--members} |
195 option. | |
196 | 196 |
197 @item | 197 @item |
198 In C++ code, in addition to all the tag constructs of C code, member | 198 In C++ code, in addition to all the tag constructs of C code, member |
199 functions are also recognized; member variables are also recognized, | 199 functions are also recognized, and optionally member variables if you |
200 unless you use the @samp{--no-members} option. Tags for variables and | 200 use the @samp{--members} option. Tags for variables and functions in |
201 functions in classes are named @samp{@var{class}::@var{variable}} and | 201 classes are named @samp{@var{class}::@var{variable}} and |
202 @samp{@var{class}::@var{function}}. @code{operator} definitions have | 202 @samp{@var{class}::@var{function}}. @code{operator} definitions have |
203 tag names like @samp{operator+}. | 203 tag names like @samp{operator+}. |
204 | 204 |
205 @item | 205 @item |
206 In Java code, tags include all the constructs recognized in C++, plus | 206 In Java code, tags include all the constructs recognized in C++, plus |
327 Tags for subroutines are named @samp{@var{package}::@var{sub}}. The | 327 Tags for subroutines are named @samp{@var{package}::@var{sub}}. The |
328 name for subroutines defined in the default package is | 328 name for subroutines defined in the default package is |
329 @samp{main::@var{sub}}. | 329 @samp{main::@var{sub}}. |
330 | 330 |
331 @item | 331 @item |
332 In PHP code, tags are functions, classes and defines. Vars are tags | 332 In PHP code, tags are functions, classes and defines. When using the |
333 too, unless you use the @samp{--no-members} option. | 333 @samp{--members} option, vars are tags too. |
334 | 334 |
335 @item | 335 @item |
336 In PostScript code, the tags are the functions. | 336 In PostScript code, the tags are the functions. |
337 | 337 |
338 @item | 338 @item |