aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2001-05-17 13:44:50 +0000
committerFrancesco Potortì2001-05-17 13:44:50 +0000
commite6dd1a49497ff043d3e1fa69392e41815c73717e (patch)
tree78a7d1b5bb03b5a77604c11fddb76e8434631884
parent6f460497794c6bb851e508994929ce8635c9cbb8 (diff)
downloademacs-e6dd1a49497ff043d3e1fa69392e41815c73717e.tar.gz
emacs-e6dd1a49497ff043d3e1fa69392e41815c73717e.zip
Add the latest changes to etags behaviour.
-rw-r--r--etc/etags.128
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
49format understood by 49format 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
52the syntax of C, Objective C, C++, Java, Fortran, Pascal, Cobol, Ada, Perl, 52the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang,
53LaTeX, Scheme, Emacs Lisp/Common Lisp, Postscript, Erlang, Python, Prolog and 53LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, Postscript,
54Python, Prolog, Scheme and
54most assembler\-like syntaxes. 55most assembler\-like syntaxes.
55Both forms read the files specified on the command line, and write a tag 56Both forms read the files specified on the command line, and write a tag
56table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for 57table (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
81through files. 82through files.
82Only \fBctags\fP accepts this option. 83Only \fBctags\fP accepts this option.
83.TP 84.TP
84.B \-C, \-\-c++
85Treat files with `\|.c\|' and `\|.h\|' extensions as C++ code, not C
86code. 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
90In C and derived languages, create tags for function declarations, 86In C and derived languages, create tags for function declarations,
91and create tags for extern variables unless \-\-no\-globals is used. 87and 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
125one such options may be intermixed with filenames. Use \fB\-\-help\fP 121one such options may be intermixed with filenames. Use \fB\-\-help\fP
126to get a list of the available languages and their default filename 122to get a list of the available languages and their default filename
127extensions. The `auto' language can be used to restore automatic 123extensions. The `auto' language can be used to restore automatic
128detection of language based on filename extension. The `none' 124detection of language based on the file name. The `none'
129language may be used to disable language parsing altogether; only 125language may be used to disable language parsing altogether; only
130regexp matching is done in this case (see the \fB\-\-regex\fP option). 126regexp 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
192A regexp can be preceded by {\fIlang\fP}, thus restriciting it to match 188A regexp can be preceded by {\fIlang\fP}, thus restricting it to match
193lines of files of the specified language. Use \fBetags --help\fP to obtain 189lines of files of the specified language. Use \fBetags --help\fP to obtain
194a list of the recognised languages. This feature is particularly useful inside 190a 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
257Copyright 253Copyright
258.if t \(co 254.if t \(co
259.if n (c) 255.if n (c)
2601999, 2001 Free Software Foundation, Inc. 2561999, 2001 Free Software Foundation, Inc.