# HG changeset patch # User Francesco Potort # Date 1170712174 0 # Node ID 280d520f640751e50d487a5071e4ed232260e5dd # Parent 5e4a56d28815caaa7c8b559cb9ad509858bbc4b9 (Tag Syntax): Now --members is the default for etags, not for ctags yet. diff -r 5e4a56d28815 -r 280d520f6407 man/ChangeLog --- a/man/ChangeLog Mon Feb 05 21:39:13 2007 +0000 +++ b/man/ChangeLog Mon Feb 05 21:49:34 2007 +0000 @@ -1,3 +1,8 @@ +2007-02-05 Francesco Potort,Al(B + + * maintaining.texi (Tag Syntax): Now --members is the default for + etags, not for ctags yet. + 2007-02-04 David Kastrup * faq.texi (AUCTeX): Update version number. Should probably be done diff -r 5e4a56d28815 -r 280d520f6407 man/maintaining.texi --- a/man/maintaining.texi Mon Feb 05 21:39:13 2007 +0000 +++ b/man/maintaining.texi Mon Feb 05 21:49:34 2007 +0000 @@ -183,22 +183,22 @@ In C code, any C function or typedef is a tag, and so are definitions of @code{struct}, @code{union} and @code{enum}. @code{#define} macro definitions, @code{#undef} and @code{enum} -constants are also +constants are also tags, unless you specify @samp{--no-defines} when making the tags table. Similarly, global variables are tags, unless you specify -@samp{--no-globals}. Use of @samp{--no-globals} and @samp{--no-defines} -can make the tags table file much smaller. +@samp{--no-globals}, and so are struct members, unless you specify +@samp{--no-members}. Use of @samp{--no-globals}, @samp{--no-defines} +and @samp{--no-members} can make the tags table file much smaller. You can tag function declarations and external variables in addition to function definitions by giving the @samp{--declarations} option to -@code{etags}. You can tag struct members with the @samp{--members} -option. +@code{etags}. @item In C++ code, in addition to all the tag constructs of C code, member -functions are also recognized, and optionally member variables if you -use the @samp{--members} option. Tags for variables and functions in -classes are named @samp{@var{class}::@var{variable}} and +functions are also recognized; member variables are also recognized, +unless you use the @samp{--no-members} option. Tags for variables and +functions in classes are named @samp{@var{class}::@var{variable}} and @samp{@var{class}::@var{function}}. @code{operator} definitions have tag names like @samp{operator+}. @@ -329,8 +329,8 @@ @samp{main::@var{sub}}. @item -In PHP code, tags are functions, classes and defines. When using the -@samp{--members} option, vars are tags too. +In PHP code, tags are functions, classes and defines. Vars are tags +too, unless you use the @samp{--no-members} option. @item In PostScript code, the tags are the functions.