diff options
| author | Francesco Potortì | 2001-05-17 13:44:50 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2001-05-17 13:44:50 +0000 |
| commit | e6dd1a49497ff043d3e1fa69392e41815c73717e (patch) | |
| tree | 78a7d1b5bb03b5a77604c11fddb76e8434631884 | |
| parent | 6f460497794c6bb851e508994929ce8635c9cbb8 (diff) | |
| download | emacs-e6dd1a49497ff043d3e1fa69392e41815c73717e.tar.gz emacs-e6dd1a49497ff043d3e1fa69392e41815c73717e.zip | |
Add the latest changes to etags behaviour.
| -rw-r--r-- | etc/etags.1 | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/etc/etags.1 b/etc/etags.1 index 74fb142ed37..26a21d4cf4e 100644 --- a/etc/etags.1 +++ b/etc/etags.1 | |||
| @@ -12,11 +12,11 @@ etags, ctags \- generate tag file for Emacs, vi | |||
| 12 | .SH SYNOPSIS | 12 | .SH SYNOPSIS |
| 13 | .hy 0 | 13 | .hy 0 |
| 14 | .na | 14 | .na |
| 15 | .B etags [\|\-aCDGImRVh\|] [\|\-i \fIfile\fP\|] [\|\-l \fIlanguage\fP\|] | 15 | \fBetags\fP [\|\-aCDGImRVh\|] [\|\-i \fIfile\fP\|] [\|\-l \fIlanguage\fP\|] |
| 16 | .if n .br | 16 | .if n .br |
| 17 | .B [\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|] | 17 | [\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|] |
| 18 | .br | 18 | .br |
| 19 | [\|\-\-append\|] [\|\-\-c++\|] [\|\-\-no\-defines\|] | 19 | [\|\-\-append\|] [\|\-\-no\-defines\|] |
| 20 | [\|\-\-no\-globals\|] [\|\-\-include=\fIfile\fP\|] | 20 | [\|\-\-no\-globals\|] [\|\-\-include=\fIfile\fP\|] |
| 21 | [\|\-\-ignore\-indentation\|] [\|\-\-language=\fIlanguage\fP\|] | 21 | [\|\-\-ignore\-indentation\|] [\|\-\-language=\fIlanguage\fP\|] |
| 22 | [\|\-\-members\|] [\|\-\-output=\fItagfile\fP\|] | 22 | [\|\-\-members\|] [\|\-\-output=\fItagfile\fP\|] |
| @@ -25,11 +25,11 @@ etags, ctags \- generate tag file for Emacs, vi | |||
| 25 | [\|\-\-help\|] [\|\-\-version\|] | 25 | [\|\-\-help\|] [\|\-\-version\|] |
| 26 | \fIfile\fP .\|.\|. | 26 | \fIfile\fP .\|.\|. |
| 27 | 27 | ||
| 28 | .B ctags [\|\-aCdgImRVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|] | 28 | \fBctags\fP [\|\-aCdgImRVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|] |
| 29 | .if n .br | 29 | .if n .br |
| 30 | .B [\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|] | 30 | [\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|] |
| 31 | .br | 31 | .br |
| 32 | [\|\-\-append\|] [\|\-\-backward\-search\|] [\|\-\-c++\|] | 32 | [\|\-\-append\|] [\|\-\-backward\-search\|] |
| 33 | [\|\-\-cxref\|] [\|\-\-defines\|] [\|\-\-forward\-search\|] | 33 | [\|\-\-cxref\|] [\|\-\-defines\|] [\|\-\-forward\-search\|] |
| 34 | [\|\-\-globals\|] [\|\-\-ignore\-indentation\|] | 34 | [\|\-\-globals\|] [\|\-\-ignore\-indentation\|] |
| 35 | [\|\-\-language=\fIlanguage\fP\|] [\|\-\-members\|] | 35 | [\|\-\-language=\fIlanguage\fP\|] [\|\-\-members\|] |
| @@ -49,8 +49,9 @@ understood by | |||
| 49 | format understood by | 49 | format understood by |
| 50 | .BR vi ( 1 )\c | 50 | .BR vi ( 1 )\c |
| 51 | \&. Both forms of the program understand | 51 | \&. Both forms of the program understand |
| 52 | the syntax of C, Objective C, C++, Java, Fortran, Pascal, Cobol, Ada, Perl, | 52 | the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, |
| 53 | LaTeX, Scheme, Emacs Lisp/Common Lisp, Postscript, Erlang, Python, Prolog and | 53 | LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, Postscript, |
| 54 | Python, Prolog, Scheme and | ||
| 54 | most assembler\-like syntaxes. | 55 | most assembler\-like syntaxes. |
| 55 | Both forms read the files specified on the command line, and write a tag | 56 | Both forms read the files specified on the command line, and write a tag |
| 56 | table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for | 57 | table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for |
| @@ -81,11 +82,6 @@ The default is to use the delimiter `\|\fB/\fP\|', to search \fIforwards\fP | |||
| 81 | through files. | 82 | through files. |
| 82 | Only \fBctags\fP accepts this option. | 83 | Only \fBctags\fP accepts this option. |
| 83 | .TP | 84 | .TP |
| 84 | .B \-C, \-\-c++ | ||
| 85 | Treat files with `\|.c\|' and `\|.h\|' extensions as C++ code, not C | ||
| 86 | code. Files with `\|.C\|', `\|.H\|', `\|.cxx\|', `\|.hxx\|', or | ||
| 87 | `\|.cc\|' extensions are always assumed to be C++ code. | ||
| 88 | .TP | ||
| 89 | .B \-\-declarations | 85 | .B \-\-declarations |
| 90 | In C and derived languages, create tags for function declarations, | 86 | In C and derived languages, create tags for function declarations, |
| 91 | and create tags for extern variables unless \-\-no\-globals is used. | 87 | and create tags for extern variables unless \-\-no\-globals is used. |
| @@ -125,7 +121,7 @@ Parse the following files according to the given language. More than | |||
| 125 | one such options may be intermixed with filenames. Use \fB\-\-help\fP | 121 | one such options may be intermixed with filenames. Use \fB\-\-help\fP |
| 126 | to get a list of the available languages and their default filename | 122 | to get a list of the available languages and their default filename |
| 127 | extensions. The `auto' language can be used to restore automatic | 123 | extensions. The `auto' language can be used to restore automatic |
| 128 | detection of language based on filename extension. The `none' | 124 | detection of language based on the file name. The `none' |
| 129 | language may be used to disable language parsing altogether; only | 125 | language may be used to disable language parsing altogether; only |
| 130 | regexp matching is done in this case (see the \fB\-\-regex\fP option). | 126 | regexp matching is done in this case (see the \fB\-\-regex\fP option). |
| 131 | .TP | 127 | .TP |
| @@ -189,7 +185,7 @@ Tag TCL files (this last example shows the usage of a \fItagregexp\fP): | |||
| 189 | \fI\-\-lang\=none \-\-regex\='/proc[\ \\t]+\\([^\ \\t]+\\)/\\1/'\fP | 185 | \fI\-\-lang\=none \-\-regex\='/proc[\ \\t]+\\([^\ \\t]+\\)/\\1/'\fP |
| 190 | 186 | ||
| 191 | .br | 187 | .br |
| 192 | A regexp can be preceded by {\fIlang\fP}, thus restriciting it to match | 188 | A regexp can be preceded by {\fIlang\fP}, thus restricting it to match |
| 193 | lines of files of the specified language. Use \fBetags --help\fP to obtain | 189 | lines of files of the specified language. Use \fBetags --help\fP to obtain |
| 194 | a list of the recognised languages. This feature is particularly useful inside | 190 | a list of the recognised languages. This feature is particularly useful inside |
| 195 | \fBregex files\fP. A regex file contains one regex per line. Empty lines, | 191 | \fBregex files\fP. A regex file contains one regex per line. Empty lines, |
| @@ -254,7 +250,7 @@ Stallman. | |||
| 254 | .BR vi ( 1 ). | 250 | .BR vi ( 1 ). |
| 255 | 251 | ||
| 256 | .SH COPYING | 252 | .SH COPYING |
| 257 | Copyright | 253 | Copyright |
| 258 | .if t \(co | 254 | .if t \(co |
| 259 | .if n (c) | 255 | .if n (c) |
| 260 | 1999, 2001 Free Software Foundation, Inc. | 256 | 1999, 2001 Free Software Foundation, Inc. |