aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2007-11-22 12:45:49 +0000
committerFrancesco Potortì2007-11-22 12:45:49 +0000
commitdd8ff1b79baed91a61aebb8ea57ed76a11280012 (patch)
tree8b9cb8ca7374a428d3e2f72c26aa7bece5983f9f
parent836bcc673dc5275211d3609baec0fdb549292255 (diff)
downloademacs-dd8ff1b79baed91a61aebb8ea57ed76a11280012.tar.gz
emacs-dd8ff1b79baed91a61aebb8ea57ed76a11280012.zip
(Tag Syntax): Revert this change: "Now --members is
the default for etags, not for ctags yet", as it is not in Emacs 22.
-rw-r--r--man/maintaining.texi18
1 files changed, 9 insertions, 9 deletions
diff --git a/man/maintaining.texi b/man/maintaining.texi
index 988d5890b8c..df0210b571e 100644
--- a/man/maintaining.texi
+++ b/man/maintaining.texi
@@ -186,19 +186,19 @@ In C code, any C function or typedef is a tag, and so are definitions of
186constants are also 186constants are also
187tags, unless you specify @samp{--no-defines} when making the tags table. 187tags, unless you specify @samp{--no-defines} when making the tags table.
188Similarly, global variables are tags, unless you specify 188Similarly, 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} 190can make the tags table file much smaller.
191and @samp{--no-members} can make the tags table file much smaller.
192 191
193You can tag function declarations and external variables in addition 192You can tag function declarations and external variables in addition
194to function definitions by giving the @samp{--declarations} option to 193to function definitions by giving the @samp{--declarations} option to
195@code{etags}. 194@code{etags}. You can tag struct members with the @samp{--members}
195option.
196 196
197@item 197@item
198In C++ code, in addition to all the tag constructs of C code, member 198In C++ code, in addition to all the tag constructs of C code, member
199functions are also recognized; member variables are also recognized, 199functions are also recognized, and optionally member variables if you
200unless you use the @samp{--no-members} option. Tags for variables and 200use the @samp{--members} option. Tags for variables and functions in
201functions in classes are named @samp{@var{class}::@var{variable}} and 201classes 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
203tag names like @samp{operator+}. 203tag names like @samp{operator+}.
204 204
@@ -329,8 +329,8 @@ 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
332In PHP code, tags are functions, classes and defines. Vars are tags 332In PHP code, tags are functions, classes and defines. When using the
333too, unless you use the @samp{--no-members} option. 333@samp{--members} option, vars are tags too.
334 334
335@item 335@item
336In PostScript code, the tags are the functions. 336In PostScript code, the tags are the functions.