Mercurial > emacs
changeset 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 | aecb6b1b4ceb |
children | daa9b2b4d89d |
files | man/maintaining.texi |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/man/maintaining.texi Thu Nov 22 12:44:49 2007 +0000 +++ b/man/maintaining.texi Thu Nov 22 12:45:49 2007 +0000 @@ -186,19 +186,19 @@ 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}, 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. +@samp{--no-globals}. Use of @samp{--no-globals} and @samp{--no-defines} +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}. +@code{etags}. You can tag struct members with the @samp{--members} +option. @item In C++ code, in addition to all the tag constructs of C code, member -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 +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 @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. Vars are tags -too, unless you use the @samp{--no-members} option. +In PHP code, tags are functions, classes and defines. When using the +@samp{--members} option, vars are tags too. @item In PostScript code, the tags are the functions.