78
70
signifies a language object for which an index entry is
79
71
available (or, alternatively, the index entry created for
82
<p>Alternatively, <b>ctags</b> can generate a cross
83
reference file which lists, in human readable form,
84
information about the various source objects found in a set
85
of language files.</p>
87
<p>Tag index files are supported by numerous editors, which
88
allow the user to locate the object associated with a name
89
appearing in a source file and jump to the file and line
90
which defines the name. Those known about at the time of
95
<table width="100%" border=0 rules="none" frame="void"
96
cols="2" cellspacing="0" cellpadding="0">
97
<tr valign="top" align="left">
100
<p><b>Vi</b>(1) and its derivatives (e.g. Elvis, Vim, Vile,
101
Lemmy), <b>CRiSP</b>, <b>Emacs</b>, <b>FTE</b> (Folding Text
74
<p style="margin-left:11%; margin-top: 1em">Alternatively,
75
<b>ctags</b> can generate a cross reference file which
76
lists, in human readable form, information about the various
77
source objects found in a set of language files.</p>
79
<p style="margin-left:11%; margin-top: 1em">Tag index files
80
are supported by numerous editors, which allow the user to
81
locate the object associated with a name appearing in a
82
source file and jump to the file and line which defines the
83
name. Those known about at the time of this release are:</p>
85
<p style="margin-left:17%; margin-top: 1em"><b>Vi</b>(1)
86
and its derivatives (e.g. Elvis, Vim, Vile, Lemmy),
87
<b>CRiSP</b>, <b>Emacs</b>, <b>FTE</b> (Folding Text
102
88
Editor), <b>JED</b>, <b>jEdit</b>, <b>Mined</b>,
103
89
<b>NEdit</b> (Nirvana Edit), <b>TSE</b> (The SemWare
104
90
Editor), <b>UltraEdit</b>, <b>WorkSpace</b>, <b>X2</b>,
108
<table width="100%" border=0 rules="none" frame="void"
109
cols="2" cellspacing="0" cellpadding="0">
110
<tr valign="top" align="left">
111
<td width="11%"></td>
113
<p><b>Ctags</b> is capable of generating different kinds of
114
tags for each of many different languages. For a complete
115
list of supported languages, the names by which they are
116
recognized, and the kinds of tags which are generated for
117
each, see the <b>−−list−languages</b> and
93
<p style="margin-left:11%; margin-top: 1em"><b>Ctags</b> is
94
capable of generating different kinds of tags for each of
95
many different languages. For a complete list of supported
96
languages, the names by which they are recognized, and the
97
kinds of tags which are generated for each, see the
98
<b>−−list−languages</b> and
118
99
<b>−−list−kinds</b> options.</p>
121
101
<a name="SOURCE FILES"></a>
122
102
<h2>SOURCE FILES</h2>
124
<table width="100%" border=0 rules="none" frame="void"
125
cols="2" cellspacing="0" cellpadding="0">
126
<tr valign="top" align="left">
127
<td width="11%"></td>
129
<p>Unless the <b>−−language−force</b>
130
option is specified, the language of each source file is
131
automatically selected based upon a mapping of file names to
132
languages. The mappings in effect for each language may be
133
display using the <b>−−list−maps</b>
134
option and may be changed using the
135
<b>−−langmap</b> option. On platforms which
136
support it, if the name of a file is not mapped to a
137
language and the file is executable, the first line of the
138
file is checked to see if the file is a "#!"
139
script for a recognized language.</p>
141
<p>By default, all other files names are ignored. This
142
permits running <b>ctags</b> on all files in either a single
143
directory (e.g. "ctags *"), or on all files in an
144
entire source directory tree (e.g. "ctags
145
−R"), since only those files whose names are
146
mapped to languages will be scanned.</p>
148
<p>[The reason that .h extensions are mapped to C++ files
149
rather than C files is because it is common to use .h
150
extensions in C++, and no harm results in treating them as
105
<p style="margin-left:11%; margin-top: 1em">Unless the
106
<b>−−language−force</b> option is
107
specified, the language of each source file is automatically
108
selected based upon a mapping of file names to languages.
109
The mappings in effect for each language may be display
110
using the <b>−−list−maps</b> option and
111
may be changed using the <b>−−langmap</b>
112
option. On platforms which support it, if the name of a file
113
is not mapped to a language and the file is executable, the
114
first line of the file is checked to see if the file is a
115
"#!" script for a recognized language.</p>
117
<p style="margin-left:11%; margin-top: 1em">By default, all
118
other files names are ignored. This permits running
119
<b>ctags</b> on all files in either a single directory (e.g.
120
"ctags *"), or on all files in an entire source
121
directory tree (e.g. "ctags −R"), since only
122
those files whose names are mapped to languages will be
125
<p style="margin-left:11%; margin-top: 1em">[The reason
126
that .h extensions are mapped to C++ files rather than C
127
files is because it is common to use .h extensions in C++,
128
and no harm results in treating them as C++ files.]</p>
154
130
<a name="OPTIONS"></a>
157
<table width="100%" border=0 rules="none" frame="void"
158
cols="2" cellspacing="0" cellpadding="0">
159
<tr valign="top" align="left">
160
<td width="11%"></td>
162
<p>Despite the wealth of available options, defaults are set
163
so that <b>ctags</b> is most commonly executed without any
164
options (e.g. "ctags *", or "ctags
165
−R"), which will create a tag file in the current
166
directory for all recognized source files. The options
167
described below are provided merely to allow custom
168
tailoring to meet special needs.</p>
170
<p>Note that spaces separating the single-letter options
171
from their parameters are optional.</p>
173
<p>Note also that the boolean parameters to the long form
174
options (those beginning with "−−" and
175
that take a "<i>[=yes</i>|<i>no]</i>" parameter)
176
may be omitted, in which case "<b>=</b><i>yes</i>"
177
is implied. (e.g. <b>−−sort</b> is equivalent to
134
<p style="margin-left:11%; margin-top: 1em">Despite the
135
wealth of available options, defaults are set so that
136
<b>ctags</b> is most commonly executed without any options
137
(e.g. "ctags *", or "ctags −R"),
138
which will create a tag file in the current directory for
139
all recognized source files. The options described below are
140
provided merely to allow custom tailoring to meet special
143
<p style="margin-left:11%; margin-top: 1em">Note that
144
spaces separating the single-letter options from their
145
parameters are optional.</p>
147
<p style="margin-left:11%; margin-top: 1em">Note also that
148
the boolean parameters to the long form options (those
149
beginning with "−−" and that take a
150
"<i>[=yes</i>|<i>no]</i>" parameter) may be
151
omitted, in which case "<b>=</b><i>yes</i>" is
152
implied. (e.g. <b>−−sort</b> is equivalent to
178
153
<b>−−sort</b>=<i>yes</i>). Note further that
179
154
"=<i>1</i>" and "=<i>on</i>" are
180
155
considered synonyms for "=<i>yes</i>", and that
181
156
"=<i>0</i>" and "=<i>off</i>" are
182
157
considered synonyms for "=<i>no</i>".</p>
184
<p>Some options are either ignored or useful only when used
185
while running in etags mode (see <b>−e</b> option).
186
Such options will be noted.</p>
188
<p>Most options may appear anywhere on the command line,
189
affecting only those files which follow the option. A few
190
options, however, must appear before the first file name and
191
will be noted as such.</p>
193
<p>Options taking language names will accept those names in
194
either upper or lower case. See the
159
<p style="margin-left:11%; margin-top: 1em">Some options
160
are either ignored or useful only when used while running in
161
etags mode (see <b>−e</b> option). Such options will
164
<p style="margin-left:11%; margin-top: 1em">Most options
165
may appear anywhere on the command line, affecting only
166
those files which follow the option. A few options, however,
167
must appear before the first file name and will be noted as
170
<p style="margin-left:11%; margin-top: 1em">Options taking
171
language names will accept those names in either upper or
195
173
<b>−−list−languages</b> option for a
196
174
complete list of the built-in language names.</p>
200
176
<table width="100%" border=0 rules="none" frame="void"
201
cols="4" cellspacing="0" cellpadding="0">
202
<tr valign="top" align="left">
203
<td width="11%"></td>
206
<p><b>−a</b></p>
211
<p>Equivalent to <b>−−append</b>.</p>
213
<tr valign="top" align="left">
214
<td width="11%"></td>
217
<p><b>−B</b></p>
177
cellspacing="0" cellpadding="0">
178
<tr valign="top" align="left">
179
<td width="11%"></td>
184
<p style="margin-top: 1em" valign="top"><b>−a</b></p> </td>
189
<p style="margin-top: 1em" valign="top">Equivalent to
190
<b>−−append</b>.</p> </td>
191
<tr valign="top" align="left">
192
<td width="11%"></td>
196
<p><b>−B</b></p></td>
222
201
<p>Use backward searching patterns (e.g. ?pattern?).
223
[Ignored in etags mode]</p>
202
[Ignored in etags mode]</p></td>
225
203
<tr valign="top" align="left">
226
204
<td width="11%"></td>
229
<p><b>−e</b></p>
208
<p><b>−e</b></p></td>
231
209
<td width="4%"></td>
234
213
<p>Enable etags mode, which will create a tag file for use
235
214
with the Emacs editor. Alternatively, if <b>ctags</b> is
236
215
invoked by a name containing the string "etags"
237
216
(either by renaming, or creating a link to, the executable),
238
217
etags mode will be enabled. This option must appear before
239
the first file name.</p>
243
<table width="100%" border=0 rules="none" frame="void"
244
cols="2" cellspacing="0" cellpadding="0">
245
<tr valign="top" align="left">
246
<td width="11%"></td>
248
<p><b>−f</b> <i>tagfile</i></p></td>
251
<table width="100%" border=0 rules="none" frame="void"
252
cols="2" cellspacing="0" cellpadding="0">
253
<tr valign="top" align="left">
254
<td width="18%"></td>
256
<p>Use the name specified by <i>tagfile</i> for the tag file
257
(default is "tags", or "TAGS" when
258
running in etags mode). If <i>tagfile</i> is specified as
218
the first file name.</p></td>
221
<p style="margin-left:11%;"><b>−f</b>
224
<p style="margin-left:18%;">Use the name specified by
225
<i>tagfile</i> for the tag file (default is
226
"tags", or "TAGS" when running in etags
227
mode). If <i>tagfile</i> is specified as
259
228
"−", then the tag file is written to
260
229
standard output instead. <b>Ctags</b> will stubbornly refuse
261
230
to take orders if <i>tagfile</i> exists and its first line
373
321
<b>−I</b> options may be supplied. To clear the list
374
322
of ignore identifiers, supply a single dash
375
323
("−") for <i>identifier−list</i>.</p>
377
<p>This feature is useful when preprocessor macros are used
378
in such a way that they cause syntactic confusion due to
379
their presence. Indeed, this is the best way of working
380
around a number of problems caused by the presence of
381
syntax-busting macros in source files (see <b>CAVEATS</b>,
382
below). Some examples will illustrate this point.</p>
386
<table width="100%" border=0 rules="none" frame="void"
387
cols="2" cellspacing="0" cellpadding="0">
388
<tr valign="top" align="left">
389
<td width="23%"></td>
391
<p>int foo ARGDECL4(void *, ptr, long int, nbytes)</p></td>
394
<table width="100%" border=0 rules="none" frame="void"
395
cols="2" cellspacing="0" cellpadding="0">
396
<tr valign="top" align="left">
397
<td width="18%"></td>
399
<p>In the above example, the macro "ARGDECL4"
400
would be mistakenly interpreted to be the name of the
401
function instead of the correct name of "foo".
402
Specifying <b>−I</b> <i>ARGDECL4</i> results in the
403
correct behavior.</p>
407
<table width="100%" border=0 rules="none" frame="void"
408
cols="2" cellspacing="0" cellpadding="0">
409
<tr valign="top" align="left">
410
<td width="23%"></td>
412
<p>/* creates an RCS version string in module */</p></td>
415
<table width="100%" border=0 rules="none" frame="void"
416
cols="2" cellspacing="0" cellpadding="0">
417
<tr valign="top" align="left">
418
<td width="18%"></td>
420
<p>MODULE_VERSION("$Revision: 590 $")</p></td>
423
<table width="100%" border=0 rules="none" frame="void"
424
cols="2" cellspacing="0" cellpadding="0">
425
<tr valign="top" align="left">
426
<td width="18%"></td>
428
<p>In the above example the macro invocation looks too much
429
like a function definition because it is not followed by a
430
semicolon (indeed, it could even be followed by a global
431
variable definition that would look much like a K&R
432
style function parameter declaration). In fact, this seeming
325
<p style="margin-left:18%; margin-top: 1em">This feature is
326
useful when preprocessor macros are used in such a way that
327
they cause syntactic confusion due to their presence.
328
Indeed, this is the best way of working around a number of
329
problems caused by the presence of syntax-busting macros in
330
source files (see <b>CAVEATS</b>, below). Some examples will
331
illustrate this point.</p>
333
<p style="margin-left:23%; margin-top: 1em">int foo
334
ARGDECL4(void *, ptr, long int, nbytes)</p>
336
<p style="margin-left:18%; margin-top: 1em">In the above
337
example, the macro "ARGDECL4" would be mistakenly
338
interpreted to be the name of the function instead of the
339
correct name of "foo". Specifying <b>−I</b>
340
<i>ARGDECL4</i> results in the correct behavior.</p>
342
<p style="margin-left:23%; margin-top: 1em">/* creates an
343
RCS version string in module */ <br>
344
MODULE_VERSION("$Revision: 690 $")</p>
346
<p style="margin-left:18%; margin-top: 1em">In the above
347
example the macro invocation looks too much like a function
348
definition because it is not followed by a semicolon
349
(indeed, it could even be followed by a global variable
350
definition that would look much like a K&R style
351
function parameter declaration). In fact, this seeming
433
352
function definition could possibly even cause the rest of
434
353
the file to be skipped over while trying to complete the
435
354
definition. Specifying <b>−I</b>
436
355
<i>MODULE_VERSION+</i> would avoid such a problem.</p>
440
<table width="100%" border=0 rules="none" frame="void"
441
cols="2" cellspacing="0" cellpadding="0">
442
<tr valign="top" align="left">
443
<td width="23%"></td>
445
<p>CLASS Example {<br>
446
// your content here<br>
450
<table width="100%" border=0 rules="none" frame="void"
451
cols="2" cellspacing="0" cellpadding="0">
452
<tr valign="top" align="left">
453
<td width="18%"></td>
455
<p>The example above uses "CLASS" as a
456
preprocessor macro which expands to something different for
457
each platform. For instance CLASS may be defined as
458
"class __declspec(dllexport)" on Win32 platforms
459
and simply "class" on UNIX. Normally, the absence
460
of the C++ keyword "class" would cause the source
461
file to be incorrectly parsed. Correct behavior can be
462
restored by specifying <b>−I</b>
463
<i>CLASS=class</i>.</p>
467
<table width="100%" border=0 rules="none" frame="void"
468
cols="2" cellspacing="0" cellpadding="0">
469
<tr valign="top" align="left">
470
<td width="11%"></td>
472
<p><b>−L</b> <i>file</i></p></td>
475
<table width="100%" border=0 rules="none" frame="void"
476
cols="2" cellspacing="0" cellpadding="0">
477
<tr valign="top" align="left">
478
<td width="18%"></td>
480
<p>Read from <i>file</i> a list of file names for which tags
481
should be generated. If <i>file</i> is specified as
482
"−", then file names are read from standard
483
input. File names read using this option are processed
484
following file names appearing on the command line. Options
485
are also accepted in this input. If this option is specified
486
more than once, only the last will apply. <b>Note:</b>
487
<i>file</i> is read in line-oriented mode, where a new line
488
is the only delimiter and non-trailing white space is
489
considered significant, in order that file names containing
490
spaces may be supplied (however, trailing white space is
491
stripped from lines); this can affect how options are parsed
492
if included in the input.</p>
496
<table width="100%" border=0 rules="none" frame="void"
497
cols="5" cellspacing="0" cellpadding="0">
498
<tr valign="top" align="left">
499
<td width="11%"></td>
502
<p><b>−n</b></p>
508
<b>−−excmd</b>=<i>number</i>.</p>
512
<tr valign="top" align="left">
513
<td width="11%"></td>
516
<p><b>−N</b></p>
522
<b>−−excmd</b>=<i>pattern</i>.</p>
528
<table width="100%" border=0 rules="none" frame="void"
529
cols="2" cellspacing="0" cellpadding="0">
530
<tr valign="top" align="left">
531
<td width="11%"></td>
533
<p><b>−o</b> <i>tagfile</i></p></td>
536
<table width="100%" border=0 rules="none" frame="void"
537
cols="2" cellspacing="0" cellpadding="0">
538
<tr valign="top" align="left">
539
<td width="18%"></td>
541
<p>Equivalent to <b>−f</b> <i>tagfile</i>.</p>
545
<table width="100%" border=0 rules="none" frame="void"
546
cols="4" cellspacing="0" cellpadding="0">
547
<tr valign="top" align="left">
548
<td width="11%"></td>
551
<p><b>−R</b></p>
556
<p>Equivalent to <b>−−recurse</b>.</p>
558
<tr valign="top" align="left">
559
<td width="11%"></td>
562
<p><b>−u</b></p>
357
<p style="margin-left:23%; margin-top: 1em">CLASS Example {
359
// your content here <br>
362
<p style="margin-left:18%; margin-top: 1em">The example
363
above uses "CLASS" as a preprocessor macro which
364
expands to something different for each platform. For
365
instance CLASS may be defined as "class
366
__declspec(dllexport)" on Win32 platforms and simply
367
"class" on UNIX. Normally, the absence of the C++
368
keyword "class" would cause the source file to be
369
incorrectly parsed. Correct behavior can be restored by
370
specifying <b>−I</b> <i>CLASS=class</i>.</p>
372
<p style="margin-left:11%;"><b>−L</b> <i>file</i></p>
374
<p style="margin-left:18%;">Read from <i>file</i> a list of
375
file names for which tags should be generated. If
376
<i>file</i> is specified as "−", then file
377
names are read from standard input. File names read using
378
this option are processed following file names appearing on
379
the command line. Options are also accepted in this input.
380
If this option is specified more than once, only the last
381
will apply. <b>Note:</b> <i>file</i> is read in
382
line-oriented mode, where a new line is the only delimiter
383
and non-trailing white space is considered significant, in
384
order that file names containing spaces may be supplied
385
(however, trailing white space is stripped from lines); this
386
can affect how options are parsed if included in the
389
<table width="100%" border=0 rules="none" frame="void"
390
cellspacing="0" cellpadding="0">
391
<tr valign="top" align="left">
392
<td width="11%"></td>
397
<p style="margin-top: 1em" valign="top"><b>−n</b></p> </td>
402
<p style="margin-top: 1em" valign="top">Equivalent to
403
<b>−−excmd</b>=<i>number</i>.</p> </td>
406
<tr valign="top" align="left">
407
<td width="11%"></td>
411
<p><b>−N</b></p></td>
417
<b>−−excmd</b>=<i>pattern</i>.</p> </td>
422
<p style="margin-left:11%;"><b>−o</b>
425
<p style="margin-left:18%;">Equivalent to <b>−f</b>
428
<table width="100%" border=0 rules="none" frame="void"
429
cellspacing="0" cellpadding="0">
430
<tr valign="top" align="left">
431
<td width="11%"></td>
436
<p style="margin-top: 1em" valign="top"><b>−R</b></p> </td>
441
<p style="margin-top: 1em" valign="top">Equivalent to
442
<b>−−recurse</b>.</p> </td>
443
<tr valign="top" align="left">
444
<td width="11%"></td>
448
<p><b>−u</b></p></td>
567
453
<p>Equivalent to <b>−−sort</b>=<i>no</i> (i.e.
568
"unsorted").</p>
570
<tr valign="top" align="left">
571
<td width="11%"></td>
574
<p><b>−V</b></p>
579
<p>Equivalent to <b>−−verbose</b>.</p>
581
<tr valign="top" align="left">
582
<td width="11%"></td>
585
<p><b>−w</b></p>
454
"unsorted").</p> </td>
455
<tr valign="top" align="left">
456
<td width="11%"></td>
460
<p><b>−V</b></p></td>
465
<p>Equivalent to <b>−−verbose</b>.</p></td>
466
<tr valign="top" align="left">
467
<td width="11%"></td>
471
<p><b>−w</b></p></td>
590
476
<p>This option is silently ignored for
591
backward-compatibility with the ctags of SVR4 Unix.</p>
477
backward-compatibility with the ctags of SVR4 Unix.</p></td>
593
478
<tr valign="top" align="left">
594
479
<td width="11%"></td>
597
<p><b>−x</b></p>
483
<p><b>−x</b></p></td>
599
484
<td width="4%"></td>
602
488
<p>Print a tabular, human-readable cross reference (xref)
603
489
file to standard output instead of generating a tag file.
604
490
The information contained in the output includes: the tag
613
499
located in a source file (e.g. <b>ctags −x
614
500
−−c−kinds</b>=<i>v</i>
615
501
<b>−−file−scope</b>=<i>no file</i>). This
616
option must appear before the first file name.</p>
620
<table width="100%" border=0 rules="none" frame="void"
621
cols="2" cellspacing="0" cellpadding="0">
622
<tr valign="top" align="left">
623
<td width="11%"></td>
626
<p><b>−−append</b>[=<i>yes</i>|<i>no</i>]</p></td>
629
<table width="100%" border=0 rules="none" frame="void"
630
cols="2" cellspacing="0" cellpadding="0">
631
<tr valign="top" align="left">
632
<td width="18%"></td>
634
<p>Indicates whether tags generated from the specified files
635
should be appended to those already present in the tag file
636
or should replace them. This option is off by default. This
637
option must appear before the first file name.</p>
641
<table width="100%" border=0 rules="none" frame="void"
642
cols="2" cellspacing="0" cellpadding="0">
643
<tr valign="top" align="left">
644
<td width="11%"></td>
647
<p><b>−−etags−include</b>=<i>file</i></p></td>
650
<table width="100%" border=0 rules="none" frame="void"
651
cols="2" cellspacing="0" cellpadding="0">
652
<tr valign="top" align="left">
653
<td width="18%"></td>
655
<p>Include a reference to <i>file</i> in the tag file. This
656
option may be specified as many times as desired. This
657
supports Emacs’ capability to use a tag file which
658
"includes" other tag files. [Available only in
502
option must appear before the first file name.</p></td>
506
<p style="margin-left:11%;"><b>−−append</b>[=<i>yes</i>|<i>no</i>]</p>
508
<p style="margin-left:18%;">Indicates whether tags
509
generated from the specified files should be appended to
510
those already present in the tag file or should replace
511
them. This option is off by default. This option must appear
512
before the first file name.</p>
515
<p style="margin-left:11%;"><b>−−etags−include</b>=<i>file</i></p>
517
<p style="margin-left:18%;">Include a reference to
518
<i>file</i> in the tag file. This option may be specified as
519
many times as desired. This supports Emacs’ capability
520
to use a tag file which "includes" other tag
521
files. [Available only in etags mode]</p>
524
<p style="margin-left:11%;"><b>−−exclude</b>=[<i>pattern</i>]</p>
526
<p style="margin-left:18%;">Add <i>pattern</i> to a list of
527
excluded files and directories. This option may be specified
528
as many times as desired. For each file name considered by
529
<b>ctags</b>, each <i>pattern</i> specified using this
530
option will be compared against both the complete path (e.g.
531
some/path/base.ext) and the base name (e.g. base.ext) of the
532
file, thus allowing patterns which match a given file name
533
irrespective of its path, or match only a specific path. If
534
appropriate support is available from the runtime library of
535
your C compiler, then <i>pattern</i> may contain the usual
536
shell wildcards (not regular expressions) common on Unix (be
537
sure to quote the option parameter to protect the wildcards
538
from being expanded by the shell before being passed to
539
<b>ctags</b>; also be aware that wildcards can match the
540
slash character, ’/’). You can determine if
541
shell wildcards are available on your platform by examining
542
the output of the <b>−−version</b> option, which
543
will include "+wildcards" in the compiled feature
544
list; otherwise, <i>pattern</i> is matched against file
545
names using a simple textual comparison.</p>
547
<p style="margin-left:18%; margin-top: 1em">If
548
<i>pattern</i> begins with the character ’@’,
549
then the rest of the string is interpreted as a file name
550
from which to read exclusion patterns, one per line. If
551
<i>pattern</i> is empty, the list of excluded patterns is
552
cleared. Note that at program startup, the default exclude
553
list contains "EIFGEN", "SCCS",
554
"RCS", and "CVS", which are names of
555
directories for which it is generally not desirable to
556
descend while processing the <b>−−recurse</b>
560
<p style="margin-left:11%;"><b>−−excmd</b>=<i>type</i></p>
562
<p style="margin-left:18%;">Determines the type of EX
563
command used to locate tags in the source file. [Ignored in
663
<table width="100%" border=0 rules="none" frame="void"
664
cols="2" cellspacing="0" cellpadding="0">
665
<tr valign="top" align="left">
666
<td width="11%"></td>
668
<p><b>−−exclude</b>=[<i>pattern</i>]</p></td>
671
<table width="100%" border=0 rules="none" frame="void"
672
cols="2" cellspacing="0" cellpadding="0">
673
<tr valign="top" align="left">
674
<td width="18%"></td>
676
<p>Add <i>pattern</i> to a list of excluded files and
677
directories. This option may be specified as many times as
678
desired. For each file name considered by <b>ctags</b>, each
679
<i>pattern</i> specified using this option will be compared
680
against both the complete path (e.g. some/path/base.ext) and
681
the base name (e.g. base.ext) of the file, thus allowing
682
patterns which match a given file name irrespective of its
683
path, or match only a specific path. If appropriate support
684
is available from the runtime library of your C compiler,
685
then <i>pattern</i> may contain the usual shell wildcards
686
(not regular expressions) common on Unix (be sure to quote
687
the option parameter to protect the wildcards from being
688
expanded by the shell before being passed to <b>ctags</b>;
689
also be aware that wildcards can match the slash character,
690
’/’). You can determine if shell wildcards are
691
available on your platform by examining the output of the
692
<b>−−version</b> option, which will include
693
"+wildcards" in the compiled feature list;
694
otherwise, <i>pattern</i> is matched against file names
695
using a simple textual comparison.</p>
697
<p>If <i>pattern</i> begins with the character
698
’@’, then the rest of the string is interpreted
699
as a file name from which to read exclusion patterns, one
700
per line. If <i>pattern</i> is empty, the list of excluded
701
patterns is cleared. Note that at program startup, the
702
default exclude list contains "EIFGEN",
703
"SCCS", "RCS", and "CVS",
704
which are names of directories for which it is generally not
705
desirable to descend while processing the
706
<b>−−recurse</b> option.</p>
710
<table width="100%" border=0 rules="none" frame="void"
711
cols="2" cellspacing="0" cellpadding="0">
712
<tr valign="top" align="left">
713
<td width="11%"></td>
715
<p><b>−−excmd</b>=<i>type</i></p></td>
718
<table width="100%" border=0 rules="none" frame="void"
719
cols="2" cellspacing="0" cellpadding="0">
720
<tr valign="top" align="left">
721
<td width="18%"></td>
723
<p>Determines the type of EX command used to locate tags in
724
the source file. [Ignored in etags mode]</p>
726
<p>The valid values for <i>type</i> (either the entire word
727
or the first letter is accepted) are:</p>
731
<table width="100%" border=0 rules="none" frame="void"
732
cols="4" cellspacing="0" cellpadding="0">
566
<p style="margin-left:18%; margin-top: 1em">The valid
567
values for <i>type</i> (either the entire word or the first
568
letter is accepted) are:</p>
570
<table width="100%" border=0 rules="none" frame="void"
571
cellspacing="0" cellpadding="0">
733
572
<tr valign="top" align="left">
734
573
<td width="18%"></td>
577
<p style="margin-top: 1em" valign="top"><i>number</i></p></td>
739
578
<td width="4%"></td>
742
<p>Use only line numbers in the tag file for locating tags.
743
This has four advantages:</p>
747
<table width="100%" border=0 rules="none" frame="void"
748
cols="4" cellspacing="0" cellpadding="0">
749
<tr valign="top" align="left">
750
<td width="32%"></td>
758
<p>Significantly reduces the size of the resulting tag
761
<tr valign="top" align="left">
762
<td width="32%"></td>
770
<p>Eliminates failures to find tags because the line
771
defining the tag has changed, causing the pattern match to
772
fail (note that some editors, such as <b>vim</b>, are able
773
to recover in many such instances).</p>
775
<tr valign="top" align="left">
776
<td width="32%"></td>
784
<p>Eliminates finding identical matching, but incorrect,
785
source lines (see <b>BUGS</b>, below).</p>
787
<tr valign="top" align="left">
788
<td width="32%"></td>
796
<p>Retains separate entries in the tag file for lines which
797
are identical in content. In <i>pattern</i> mode, duplicate
798
entries are dropped because the search patterns they
799
generate are identical, making the duplicate entries
804
<table width="100%" border=0 rules="none" frame="void"
805
cols="2" cellspacing="0" cellpadding="0">
806
<tr valign="top" align="left">
807
<td width="32%"></td>
809
<p>However, this option has one significant drawback:
810
changes to the source files can cause the line numbers
811
recorded in the tag file to no longer correspond to the
812
lines in the source file, causing jumps to some tags to miss
813
the target definition by one or more lines. Basically, this
814
option is best used when the source code to which it is
815
applied is not subject to change. Selecting this option type
816
causes the following options to be ignored:
817
<b>−BF</b>.</p>
821
<table width="100%" border=0 rules="none" frame="void"
822
cols="4" cellspacing="0" cellpadding="0">
823
<tr valign="top" align="left">
824
<td width="18%"></td>
827
<p><i>pattern</i></p>
832
<p>Use only search patterns for all tags, rather than the
833
line numbers usually used for macro definitions. This has
834
the advantage of not referencing obsolete line numbers when
835
lines have been added or removed since the tag file was
838
<tr valign="top" align="left">
839
<td width="18%"></td>
582
<p style="margin-top: 1em" valign="top">Use only line
583
numbers in the tag file for locating tags. This has four
584
advantages:</p> </td>
587
<table width="100%" border=0 rules="none" frame="void"
588
cellspacing="0" cellpadding="0">
589
<tr valign="top" align="left">
590
<td width="32%"></td>
594
<p valign="top">1.</p></td>
599
<p valign="top">Significantly reduces the size of the
600
resulting tag file.</p></td>
601
<tr valign="top" align="left">
602
<td width="32%"></td>
606
<p valign="top">2.</p></td>
611
<p valign="top">Eliminates failures to find tags because
612
the line defining the tag has changed, causing the pattern
613
match to fail (note that some editors, such as <b>vim</b>,
614
are able to recover in many such instances).</p></td>
615
<tr valign="top" align="left">
616
<td width="32%"></td>
620
<p valign="top">3.</p></td>
625
<p valign="top">Eliminates finding identical matching, but
626
incorrect, source lines (see <b>BUGS</b>, below).</p></td>
627
<tr valign="top" align="left">
628
<td width="32%"></td>
632
<p valign="top">4.</p></td>
637
<p valign="top">Retains separate entries in the tag file
638
for lines which are identical in content. In <i>pattern</i>
639
mode, duplicate entries are dropped because the search
640
patterns they generate are identical, making the duplicate
641
entries useless.</p></td>
644
<p style="margin-left:32%; margin-top: 1em">However, this
645
option has one significant drawback: changes to the source
646
files can cause the line numbers recorded in the tag file to
647
no longer correspond to the lines in the source file,
648
causing jumps to some tags to miss the target definition by
649
one or more lines. Basically, this option is best used when
650
the source code to which it is applied is not subject to
651
change. Selecting this option type causes the following
652
options to be ignored: <b>−BF</b>.</p>
654
<table width="100%" border=0 rules="none" frame="void"
655
cellspacing="0" cellpadding="0">
656
<tr valign="top" align="left">
657
<td width="18%"></td>
661
<p style="margin-top: 1em" valign="top"><i>pattern</i></p></td>
666
<p style="margin-top: 1em" valign="top">Use only search
667
patterns for all tags, rather than the line numbers usually
668
used for macro definitions. This has the advantage of not
669
referencing obsolete line numbers when lines have been added
670
or removed since the tag file was generated.</p></td>
671
<tr valign="top" align="left">
672
<td width="18%"></td>
676
<p><i>mixed</i></p></td>
847
681
<p>In this mode, patterns are generally used with a few
848
682
exceptions. For C, line numbers are used for macro
851
685
default for this option. For Fortran, line numbers are used
852
686
for common blocks because their corresponding source lines
853
687
are generally identical, making pattern searches useless for
854
finding all matches.</p>
858
<table width="100%" border=0 rules="none" frame="void"
859
cols="2" cellspacing="0" cellpadding="0">
860
<tr valign="top" align="left">
861
<td width="11%"></td>
864
<p><b>−−extra</b>=<i>[+|−]flags</i></p></td>
867
<table width="100%" border=0 rules="none" frame="void"
868
cols="2" cellspacing="0" cellpadding="0">
869
<tr valign="top" align="left">
870
<td width="18%"></td>
872
<p>Specifies whether to include extra tag entries for
873
certain kinds of information. The parameter <i>flags</i> is
874
a set of one-letter flags, each representing one kind of
875
extra tag entry to include in the tag file. If <i>flags</i>
876
is preceded by by either the ’+’ or
877
’−’ character, the effect of each flag is
878
added to, or removed from, those currently enabled;
879
otherwise the flags replace any current settings. The
880
meaning of each flag is as follows:</p>
884
<table width="100%" border=0 rules="none" frame="void"
885
cols="4" cellspacing="0" cellpadding="0">
886
<tr valign="top" align="left">
887
<td width="23%"></td>
895
<p>Include an entry for the base file name of every source
896
file (e.g. "example.c"), which addresses the first
897
line of the file.</p>
899
<tr valign="top" align="left">
900
<td width="23%"></td>
908
<p>Include an extra class-qualified tag entry for each tag
909
which is a member of a class (for languages for which this
910
information is extracted; currently C++, Eiffel, and Java).
911
The actual form of the qualified tag depends upon the
912
language from which the tag was derived (using a form that
913
is most natural for how qualified calls are specified in the
914
language). For C++, it is in the form
915
"class::member"; for Eiffel and Java, it is in the
916
form "class.member". This may allow easier
917
location of a specific tags when multiple occurrences of a
918
tag name occur in the tag file. Note, however, that this
919
could potentially more than double the size of the tag
924
<table width="100%" border=0 rules="none" frame="void"
925
cols="2" cellspacing="0" cellpadding="0">
926
<tr valign="top" align="left">
927
<td width="11%"></td>
930
<p><b>−−fields</b>=<i>[+|−]flags</i></p></td>
933
<table width="100%" border=0 rules="none" frame="void"
934
cols="2" cellspacing="0" cellpadding="0">
935
<tr valign="top" align="left">
936
<td width="18%"></td>
938
<p>Specifies the available extension fields which are to be
939
included in the entries of the tag file (see <b>TAG FILE
940
FORMAT</b>, below, for more information). The parameter
941
<i>flags</i> is a set of one-letter flags, each representing
942
one type of extension field to include, with the following
943
meanings (disabled by default unless indicated):</p>
947
<table width="100%" border=0 rules="none" frame="void"
948
cols="4" cellspacing="0" cellpadding="0">
949
<tr valign="top" align="left">
950
<td width="23%"></td>
958
<p>Access (or export) of class members</p>
960
<tr valign="top" align="left">
961
<td width="23%"></td>
969
<p>File-restricted scoping [enabled]</p>
971
<tr valign="top" align="left">
972
<td width="23%"></td>
980
<p>Inheritance information</p>
982
<tr valign="top" align="left">
983
<td width="23%"></td>
991
<p>Kind of tag as a single letter [enabled]</p>
993
<tr valign="top" align="left">
994
<td width="23%"></td>
1002
<p>Kind of tag as full name</p>
1004
<tr valign="top" align="left">
1005
<td width="23%"></td>
1010
<td width="4%"></td>
1013
<p>Language of source file containing tag</p>
1015
<tr valign="top" align="left">
1016
<td width="23%"></td>
1021
<td width="4%"></td>
1024
<p>Implementation information</p>
1026
<tr valign="top" align="left">
1027
<td width="23%"></td>
1032
<td width="4%"></td>
1035
<p>Line number of tag definition</p>
1037
<tr valign="top" align="left">
1038
<td width="23%"></td>
1043
<td width="4%"></td>
1046
<p>Scope of tag definition [enabled]</p>
1048
<tr valign="top" align="left">
1049
<td width="23%"></td>
1054
<td width="4%"></td>
1057
<p>Signature of routine (e.g. prototype or parameter
1060
<tr valign="top" align="left">
1061
<td width="23%"></td>
1066
<td width="4%"></td>
1069
<p>Include the "kind:" key in kind field</p>
1071
<tr valign="top" align="left">
1072
<td width="23%"></td>
1077
<td width="4%"></td>
1080
<p>Type and name of a variable or typedef as
1081
"typeref:" field [enabled]</p>
1084
<!-- INDENTATION -->
1085
<table width="100%" border=0 rules="none" frame="void"
1086
cols="2" cellspacing="0" cellpadding="0">
1087
<tr valign="top" align="left">
1088
<td width="18%"></td>
1090
<p>Each letter or group of letters may be preceded by either
1091
’+’ to add it to the default set, or
1092
’−’ to exclude it. In the absence of any
1093
preceding ’+’ or ’−’ sign,
1094
only those kinds explicitly listed in <i>flags</i> will be
1095
included in the output (i.e. overriding the default set).
1096
This option is ignored if the option
1097
<b>−−format</b>=<i>1</i> has been specified. The
1098
default value of this option is <i>fks</i>.</p></td>
1100
<!-- INDENTATION -->
1101
<table width="100%" border=0 rules="none" frame="void"
1102
cols="2" cellspacing="0" cellpadding="0">
1103
<tr valign="top" align="left">
1104
<td width="11%"></td>
1107
<p><b>−−file−scope</b>[=<i>yes</i>|<i>no</i>]</p></td>
1109
<!-- INDENTATION -->
1110
<table width="100%" border=0 rules="none" frame="void"
1111
cols="2" cellspacing="0" cellpadding="0">
1112
<tr valign="top" align="left">
1113
<td width="18%"></td>
1115
<p>Indicates whether tags scoped only for a single file
1116
(i.e. tags which cannot be seen outside of the file in which
1117
they are defined, such as "static" tags) should be
1118
included in the output. See, also, the <b>−h</b>
1119
option. This option is enabled by default.</p>
1122
<!-- INDENTATION -->
1123
<table width="100%" border=0 rules="none" frame="void"
1124
cols="2" cellspacing="0" cellpadding="0">
1125
<tr valign="top" align="left">
1126
<td width="11%"></td>
1129
<p><b>−−filter</b>[=<i>yes</i>|<i>no</i>]</p></td>
1131
<!-- INDENTATION -->
1132
<table width="100%" border=0 rules="none" frame="void"
1133
cols="2" cellspacing="0" cellpadding="0">
1134
<tr valign="top" align="left">
1135
<td width="18%"></td>
1137
<p>Causes <b>ctags</b> to behave as a filter, reading source
1138
file names from standard input and printing their tags to
1139
standard output on a file-by-file basis. If
1140
<b>−−sorted</b> is enabled, tags are sorted only
1141
within the source file in which they are defined. File names
1142
are read from standard input in line-oriented input mode
1143
(see note for <b>−L</b> option) and only after file
1144
names listed on the command line or from any file supplied
1145
using the <b>−L</b> option. When this option is
1146
enabled, the options <b>−f</b>, <b>−o</b>, and
1147
<b>−−totals</b> are ignored. This option is
1148
quite esoteric and is disabled by default. This option must
1149
appear before the first file name.</p>
1152
<!-- INDENTATION -->
1153
<table width="100%" border=0 rules="none" frame="void"
1154
cols="2" cellspacing="0" cellpadding="0">
1155
<tr valign="top" align="left">
1156
<td width="11%"></td>
1159
<p><b>−−filter−terminator</b>=<i>string</i></p></td>
1161
<!-- INDENTATION -->
1162
<table width="100%" border=0 rules="none" frame="void"
1163
cols="2" cellspacing="0" cellpadding="0">
1164
<tr valign="top" align="left">
1165
<td width="18%"></td>
1167
<p>Specifies a string to print to standard output following
1168
the tags for each file name parsed when the
1169
<b>−−filter</b> option is enabled. This may
1170
permit an application reading the output of ctags to
688
finding all matches.</p></td>
692
<p style="margin-left:11%;"><b>−−extra</b>=<i>[+|−]flags</i></p>
694
<p style="margin-left:18%;">Specifies whether to include
695
extra tag entries for certain kinds of information. The
696
parameter <i>flags</i> is a set of one-letter flags, each
697
representing one kind of extra tag entry to include in the
698
tag file. If <i>flags</i> is preceded by by either the
699
’+’ or ’−’ character, the
700
effect of each flag is added to, or removed from, those
701
currently enabled; otherwise the flags replace any current
702
settings. The meaning of each flag is as follows:</p>
704
<table width="100%" border=0 rules="none" frame="void"
705
cellspacing="0" cellpadding="0">
706
<tr valign="top" align="left">
707
<td width="23%"></td>
711
<p style="margin-top: 1em" valign="top"><i>f</i></p></td>
716
<p style="margin-top: 1em" valign="top">Include an entry
717
for the base file name of every source file (e.g.
718
"example.c"), which addresses the first line of
720
<tr valign="top" align="left">
721
<td width="23%"></td>
725
<p style="margin-top: 1em" valign="top"><i>q</i></p></td>
730
<p style="margin-top: 1em" valign="top">Include an extra
731
class-qualified tag entry for each tag which is a member of
732
a class (for languages for which this information is
733
extracted; currently C++, Eiffel, and Java). The actual form
734
of the qualified tag depends upon the language from which
735
the tag was derived (using a form that is most natural for
736
how qualified calls are specified in the language). For C++,
737
it is in the form "class::member"; for Eiffel and
738
Java, it is in the form "class.member". This may
739
allow easier location of a specific tags when multiple
740
occurrences of a tag name occur in the tag file. Note,
741
however, that this could potentially more than double the
742
size of the tag file.</p></td>
746
<p style="margin-left:11%;"><b>−−fields</b>=<i>[+|−]flags</i></p>
748
<p style="margin-left:18%;">Specifies the available
749
extension fields which are to be included in the entries of
750
the tag file (see <b>TAG FILE FORMAT</b>, below, for more
751
information). The parameter <i>flags</i> is a set of
752
one-letter flags, each representing one type of extension
753
field to include, with the following meanings (disabled by
754
default unless indicated):</p>
756
<table width="100%" border=0 rules="none" frame="void"
757
cellspacing="0" cellpadding="0">
758
<tr valign="top" align="left">
759
<td width="23%"></td>
763
<p style="margin-top: 1em" valign="top"><i>a</i></p></td>
768
<p style="margin-top: 1em" valign="top">Access (or export)
769
of class members</p></td>
770
<tr valign="top" align="left">
771
<td width="23%"></td>
775
<p valign="top"><i>f</i></p></td>
780
<p valign="top">File-restricted scoping [enabled]</p></td>
781
<tr valign="top" align="left">
782
<td width="23%"></td>
786
<p valign="top"><i>i</i></p></td>
791
<p valign="top">Inheritance information</p></td>
792
<tr valign="top" align="left">
793
<td width="23%"></td>
797
<p valign="top"><i>k</i></p></td>
802
<p valign="top">Kind of tag as a single letter
804
<tr valign="top" align="left">
805
<td width="23%"></td>
809
<p valign="top"><i>K</i></p></td>
814
<p valign="top">Kind of tag as full name</p></td>
815
<tr valign="top" align="left">
816
<td width="23%"></td>
820
<p valign="top"><i>l</i></p></td>
825
<p valign="top">Language of source file containing tag</p></td>
826
<tr valign="top" align="left">
827
<td width="23%"></td>
831
<p valign="top"><i>m</i></p></td>
836
<p valign="top">Implementation information</p></td>
837
<tr valign="top" align="left">
838
<td width="23%"></td>
842
<p valign="top"><i>n</i></p></td>
847
<p valign="top">Line number of tag definition</p></td>
848
<tr valign="top" align="left">
849
<td width="23%"></td>
853
<p valign="top"><i>s</i></p></td>
858
<p valign="top">Scope of tag definition [enabled]</p></td>
859
<tr valign="top" align="left">
860
<td width="23%"></td>
864
<p valign="top"><i>S</i></p></td>
869
<p valign="top">Signature of routine (e.g. prototype or
870
parameter list)</p></td>
871
<tr valign="top" align="left">
872
<td width="23%"></td>
876
<p valign="top"><i>z</i></p></td>
881
<p valign="top">Include the "kind:" key in kind
883
<tr valign="top" align="left">
884
<td width="23%"></td>
888
<p valign="top"><i>t</i></p></td>
893
<p valign="top">Type and name of a variable or typedef as
894
"typeref:" field [enabled]</p></td>
897
<p style="margin-left:18%; margin-top: 1em">Each letter or
898
group of letters may be preceded by either ’+’
899
to add it to the default set, or ’−’ to
900
exclude it. In the absence of any preceding ’+’
901
or ’−’ sign, only those kinds explicitly
902
listed in <i>flags</i> will be included in the output (i.e.
903
overriding the default set). This option is ignored if the
904
option <b>−−format</b>=<i>1</i> has been
905
specified. The default value of this option is
909
<p style="margin-left:11%;"><b>−−file−scope</b>[=<i>yes</i>|<i>no</i>]</p>
911
<p style="margin-left:18%;">Indicates whether tags scoped
912
only for a single file (i.e. tags which cannot be seen
913
outside of the file in which they are defined, such as
914
"static" tags) should be included in the output.
915
See, also, the <b>−h</b> option. This option is
916
enabled by default.</p>
919
<p style="margin-left:11%;"><b>−−filter</b>[=<i>yes</i>|<i>no</i>]</p>
921
<p style="margin-left:18%;">Causes <b>ctags</b> to behave
922
as a filter, reading source file names from standard input
923
and printing their tags to standard output on a file-by-file
924
basis. If <b>−−sorted</b> is enabled, tags are
925
sorted only within the source file in which they are
926
defined. File names are read from standard input in
927
line-oriented input mode (see note for <b>−L</b>
928
option) and only after file names listed on the command line
929
or from any file supplied using the <b>−L</b> option.
930
When this option is enabled, the options <b>−f</b>,
931
<b>−o</b>, and <b>−−totals</b> are
932
ignored. This option is quite esoteric and is disabled by
933
default. This option must appear before the first file
937
<p style="margin-left:11%;"><b>−−filter−terminator</b>=<i>string</i></p>
939
<p style="margin-left:18%;">Specifies a string to print to
940
standard output following the tags for each file name parsed
941
when the <b>−−filter</b> option is enabled. This
942
may permit an application reading the output of ctags to
1171
943
determine when the output for each file is finished. Note
1172
944
that if the file name read is a directory and
1173
945
<b>−−recurse</b> is enabled, this string will be
1692
1256
is added to the current list of regular expressions for the
1693
1257
specified language unless the parameter is omitted, in which
1694
1258
case the current list is cleared.</p>
1695
<!-- INDENTATION -->
1696
<p>Unless modified by <i>flags</i>, <i>regexp</i> is
1697
interpreted as a Posix extended regular expression. The
1698
<i>replacement</i> should expand for all matching lines to a
1699
non-empty string of characters, or a warning message will be
1700
reported. An optional kind specifier for tags matching
1701
<i>regexp</i> may follow <i>replacement</i>, which will
1702
determine what kind of tag is reported in the
1703
"kind" extension field (see <b>TAG FILE
1704
FORMAT</b>, below). The full form of <i>kind−spec</i>
1705
is in the form of a single letter, a comma, a name (without
1706
spaces), a comma, a description, followed by a separator,
1707
which specify the short and long forms of the kind value and
1708
its textual description (displayed using
1709
<b>−−list−kinds</b>). Either the kind name
1710
and/or the description may be omitted. If
1711
<i>kind−spec</i> is omitted, it defaults to
1260
<p style="margin-left:18%; margin-top: 1em">Unless modified
1261
by <i>flags</i>, <i>regexp</i> is interpreted as a Posix
1262
extended regular expression. The <i>replacement</i> should
1263
expand for all matching lines to a non-empty string of
1264
characters, or a warning message will be reported. An
1265
optional kind specifier for tags matching <i>regexp</i> may
1266
follow <i>replacement</i>, which will determine what kind of
1267
tag is reported in the "kind" extension field (see
1268
<b>TAG FILE FORMAT</b>, below). The full form of
1269
<i>kind−spec</i> is in the form of a single letter, a
1270
comma, a name (without spaces), a comma, a description,
1271
followed by a separator, which specify the short and long
1272
forms of the kind value and its textual description
1273
(displayed using <b>−−list−kinds</b>).
1274
Either the kind name and/or the description may be omitted.
1275
If <i>kind−spec</i> is omitted, it defaults to
1712
1276
"<i>r,regex</i>". Finally, <i>flags</i> are one or
1713
1277
more single-letter characters having the following effect
1714
1278
upon the interpretation of <i>regexp</i>:</p>
1718
<table width="100%" border=0 rules="none" frame="void"
1719
cols="4" cellspacing="0" cellpadding="0">
1720
<tr valign="top" align="left">
1721
<td width="23%"></td>
1726
<td width="4%"></td>
1729
<p>The pattern is interpreted as a Posix basic regular
1732
<tr valign="top" align="left">
1733
<td width="23%"></td>
1738
<td width="4%"></td>
1741
<p>The pattern is interpreted as a Posix extended regular
1742
expression (default).</p>
1744
<tr valign="top" align="left">
1745
<td width="23%"></td>
1750
<td width="4%"></td>
1753
<p>The regular expression is to be applied in a
1754
case-insensitive manner.</p>
1757
<!-- INDENTATION -->
1758
<table width="100%" border=0 rules="none" frame="void"
1759
cols="2" cellspacing="0" cellpadding="0">
1760
<tr valign="top" align="left">
1761
<td width="18%"></td>
1763
<p>Note that this option is available only if <b>ctags</b>
1764
was compiled with support for regular expressions, which
1765
depends upon your platform. You can determine if support for
1766
regular expressions is compiled in by examining the output
1767
of the <b>−−version</b> option, which will
1768
include "+regex" in the compiled feature list.</p>
1769
<!-- INDENTATION -->
1770
<p>For more information on the regular expressions used by
1771
<b>ctags</b>, see either the <b>regex(5,7)</b> man page, or
1772
the GNU info documentation for regex (e.g. "info
1773
regex").</p></td>
1775
<!-- INDENTATION -->
1776
<table width="100%" border=0 rules="none" frame="void"
1777
cols="2" cellspacing="0" cellpadding="0">
1778
<tr valign="top" align="left">
1779
<td width="11%"></td>
1782
<p><b>−−sort</b>[=<i>yes</i>|<i>no</i>|<i>foldcase</i>]</p></td>
1784
<!-- INDENTATION -->
1785
<table width="100%" border=0 rules="none" frame="void"
1786
cols="2" cellspacing="0" cellpadding="0">
1787
<tr valign="top" align="left">
1788
<td width="18%"></td>
1790
<p>Indicates whether the tag file should be sorted on the
1791
tag name (default is <i>yes</i>). Note that the original
1792
<b>vi</b>(1) required sorted tags. The <i>foldcase</i> value
1793
specifies case insensitive (or case-folded) sorting. Fast
1794
binary searches of tag files sorted with case-folding will
1795
require special support from tools using tag files, such as
1796
that found in the ctags readtags library, or Vim version 6.2
1797
or higher (using "set ignorecase"). This option
1798
must appear before the first file name. [Ignored in etags
1802
<!-- INDENTATION -->
1803
<table width="100%" border=0 rules="none" frame="void"
1804
cols="2" cellspacing="0" cellpadding="0">
1805
<tr valign="top" align="left">
1806
<td width="11%"></td>
1809
<p><b>−−tag−relative</b>[=<i>yes</i>|<i>no</i>]</p></td>
1811
<!-- INDENTATION -->
1812
<table width="100%" border=0 rules="none" frame="void"
1813
cols="2" cellspacing="0" cellpadding="0">
1814
<tr valign="top" align="left">
1815
<td width="18%"></td>
1817
<p>Indicates that the file paths recorded in the tag file
1818
should be relative to the directory containing the tag file,
1819
rather than relative to the current directory, unless the
1820
files supplied on the command line are specified with
1821
absolute paths. This option must appear before the first
1822
file name. The default is <i>yes</i> when running in etags
1823
mode (see the <b>−e</b> option), <i>no</i>
1827
<!-- INDENTATION -->
1828
<table width="100%" border=0 rules="none" frame="void"
1829
cols="2" cellspacing="0" cellpadding="0">
1830
<tr valign="top" align="left">
1831
<td width="11%"></td>
1834
<p><b>−−totals</b>[=<i>yes</i>|<i>no</i>]</p></td>
1836
<!-- INDENTATION -->
1837
<table width="100%" border=0 rules="none" frame="void"
1838
cols="2" cellspacing="0" cellpadding="0">
1839
<tr valign="top" align="left">
1840
<td width="18%"></td>
1842
<p>Prints statistics about the source files read and the tag
1843
file written during the current invocation of <b>ctags</b>.
1844
This option is off by default. This option must appear
1845
before the first file name.</p>
1848
<!-- INDENTATION -->
1849
<table width="100%" border=0 rules="none" frame="void"
1850
cols="2" cellspacing="0" cellpadding="0">
1851
<tr valign="top" align="left">
1852
<td width="11%"></td>
1855
<p><b>−−verbose</b>[=<i>yes</i>|<i>no</i>]</p></td>
1857
<!-- INDENTATION -->
1858
<table width="100%" border=0 rules="none" frame="void"
1859
cols="2" cellspacing="0" cellpadding="0">
1860
<tr valign="top" align="left">
1861
<td width="18%"></td>
1863
<p>Enable verbose mode. This prints out information on
1864
option processing and a brief message describing what action
1865
is being taken for each file considered by <b>ctags</b>.
1866
Normally, <b>ctags</b> does not read command line arguments
1867
until after options are read from the configuration files
1868
(see <b>FILES</b>, below) and the <b>CTAGS</b> environment
1869
variable. However, if this option is the first argument on
1870
the command line, it will take effect before any options are
1871
read from these sources. The default is <i>no</i>.</p>
1874
<!-- INDENTATION -->
1875
<table width="100%" border=0 rules="none" frame="void"
1876
cols="2" cellspacing="0" cellpadding="0">
1877
<tr valign="top" align="left">
1878
<td width="11%"></td>
1880
<p><b>−−version</b></p></td>
1882
<!-- INDENTATION -->
1883
<table width="100%" border=0 rules="none" frame="void"
1884
cols="2" cellspacing="0" cellpadding="0">
1885
<tr valign="top" align="left">
1886
<td width="18%"></td>
1888
<p>Prints a version identifier for <b>ctags</b> to standard
1889
output, and then exits. This is guaranteed to always contain
1890
the string "Exuberant Ctags".</p>
1280
<table width="100%" border=0 rules="none" frame="void"
1281
cellspacing="0" cellpadding="0">
1282
<tr valign="top" align="left">
1283
<td width="23%"></td>
1287
<p style="margin-top: 1em" valign="top"><i>b</i></p></td>
1288
<td width="4%"></td>
1292
<p style="margin-top: 1em" valign="top">The pattern is
1293
interpreted as a Posix basic regular expression.</p></td>
1294
<tr valign="top" align="left">
1295
<td width="23%"></td>
1299
<p style="margin-top: 1em" valign="top"><i>e</i></p></td>
1300
<td width="4%"></td>
1304
<p style="margin-top: 1em" valign="top">The pattern is
1305
interpreted as a Posix extended regular expression
1306
(default).</p> </td>
1307
<tr valign="top" align="left">
1308
<td width="23%"></td>
1312
<p style="margin-top: 1em" valign="top"><i>i</i></p></td>
1313
<td width="4%"></td>
1317
<p style="margin-top: 1em" valign="top">The regular
1318
expression is to be applied in a case-insensitive
1322
<p style="margin-left:18%; margin-top: 1em">Note that this
1323
option is available only if <b>ctags</b> was compiled with
1324
support for regular expressions, which depends upon your
1325
platform. You can determine if support for regular
1326
expressions is compiled in by examining the output of the
1327
<b>−−version</b> option, which will include
1328
"+regex" in the compiled feature list.</p>
1330
<p style="margin-left:18%; margin-top: 1em">For more
1331
information on the regular expressions used by <b>ctags</b>,
1332
see either the <b>regex(5,7)</b> man page, or the GNU info
1333
documentation for regex (e.g. "info regex").</p>
1336
<p style="margin-left:11%;"><b>−−sort</b>[=<i>yes</i>|<i>no</i>|<i>foldcase</i>]</p>
1338
<p style="margin-left:18%;">Indicates whether the tag file
1339
should be sorted on the tag name (default is <i>yes</i>).
1340
Note that the original <b>vi</b>(1) required sorted tags.
1341
The <i>foldcase</i> value specifies case insensitive (or
1342
case-folded) sorting. Fast binary searches of tag files
1343
sorted with case-folding will require special support from
1344
tools using tag files, such as that found in the ctags
1345
readtags library, or Vim version 6.2 or higher (using
1346
"set ignorecase"). This option must appear before
1347
the first file name. [Ignored in etags mode]</p>
1350
<p style="margin-left:11%;"><b>−−tag−relative</b>[=<i>yes</i>|<i>no</i>]</p>
1352
<p style="margin-left:18%;">Indicates that the file paths
1353
recorded in the tag file should be relative to the directory
1354
containing the tag file, rather than relative to the current
1355
directory, unless the files supplied on the command line are
1356
specified with absolute paths. This option must appear
1357
before the first file name. The default is <i>yes</i> when
1358
running in etags mode (see the <b>−e</b> option),
1359
<i>no</i> otherwise.</p>
1362
<p style="margin-left:11%;"><b>−−totals</b>[=<i>yes</i>|<i>no</i>]</p>
1364
<p style="margin-left:18%;">Prints statistics about the
1365
source files read and the tag file written during the
1366
current invocation of <b>ctags</b>. This option is off by
1367
default. This option must appear before the first file
1371
<p style="margin-left:11%;"><b>−−verbose</b>[=<i>yes</i>|<i>no</i>]</p>
1373
<p style="margin-left:18%;">Enable verbose mode. This
1374
prints out information on option processing and a brief
1375
message describing what action is being taken for each file
1376
considered by <b>ctags</b>. Normally, <b>ctags</b> does not
1377
read command line arguments until after options are read
1378
from the configuration files (see <b>FILES</b>, below) and
1379
the <b>CTAGS</b> environment variable. However, if this
1380
option is the first argument on the command line, it will
1381
take effect before any options are read from these sources.
1382
The default is <i>no</i>.</p>
1385
<p style="margin-left:11%;"><b>−−version</b></p>
1387
<p style="margin-left:18%;">Prints a version identifier for
1388
<b>ctags</b> to standard output, and then exits. This is
1389
guaranteed to always contain the string "Exuberant
1893
1392
<a name="OPERATIONAL DETAILS"></a>
1894
1393
<h2>OPERATIONAL DETAILS</h2>
1895
<!-- INDENTATION -->
1896
<table width="100%" border=0 rules="none" frame="void"
1897
cols="2" cellspacing="0" cellpadding="0">
1898
<tr valign="top" align="left">
1899
<td width="11%"></td>
1901
<p>As <b>ctags</b> considers each file name in turn, it
1902
tries to determine the language of the file by applying the
1903
following three tests in order: if the file extension has
1904
been mapped to a language, if the file name matches a shell
1905
pattern mapped to a language, and finally if the file is
1906
executable and its first line specifies an interpreter using
1907
the Unix-style "#!" specification (if supported on
1908
the platform). If a language was identified, the file is
1909
opened and then the appropriate language parser is called to
1910
operate on the currently open file. The parser parses
1911
through the file and adds an entry to the tag file for each
1912
language object it is written to handle. See <b>TAG FILE
1913
FORMAT</b>, below, for details on these entries.</p>
1914
<!-- INDENTATION -->
1915
<p>This implementation of <b>ctags</b> imposes no formatting
1396
<p style="margin-left:11%; margin-top: 1em">As <b>ctags</b>
1397
considers each file name in turn, it tries to determine the
1398
language of the file by applying the following three tests
1399
in order: if the file extension has been mapped to a
1400
language, if the file name matches a shell pattern mapped to
1401
a language, and finally if the file is executable and its
1402
first line specifies an interpreter using the Unix-style
1403
"#!" specification (if supported on the platform).
1404
If a language was identified, the file is opened and then
1405
the appropriate language parser is called to operate on the
1406
currently open file. The parser parses through the file and
1407
adds an entry to the tag file for each language object it is
1408
written to handle. See <b>TAG FILE FORMAT</b>, below, for
1409
details on these entries.</p>
1411
<p style="margin-left:11%; margin-top: 1em">This
1412
implementation of <b>ctags</b> imposes no formatting
1916
1413
requirements on C code as do legacy implementations. Older
1917
1414
implementations of ctags tended to rely upon certain
1918
1415
formatting assumptions in order to help it resolve coding
1919
1416
dilemmas caused by preprocessor conditionals.</p>
1920
<!-- INDENTATION -->
1921
<p>In general, <b>ctags</b> tries to be smart about
1922
conditional preprocessor directives. If a preprocessor
1923
conditional is encountered within a statement which defines
1924
a tag, <b>ctags</b> follows only the first branch of that
1418
<p style="margin-left:11%; margin-top: 1em">In general,
1419
<b>ctags</b> tries to be smart about conditional
1420
preprocessor directives. If a preprocessor conditional is
1421
encountered within a statement which defines a tag,
1422
<b>ctags</b> follows only the first branch of that
1925
1423
conditional (except in the special case of "#if
1926
1424
0", in which case it follows only the last branch). The
1927
1425
reason for this is that failing to pursue only one branch
1928
1426
can result in ambiguous syntax, as in the following
1932
<!-- INDENTATION -->
1933
<table width="100%" border=0 rules="none" frame="void"
1934
cols="2" cellspacing="0" cellpadding="0">
1935
<tr valign="top" align="left">
1936
<td width="22%"></td>
1938
<p>#ifdef TWO_ALTERNATIVES<br>
1944
<!-- INDENTATION -->
1945
<table width="100%" border=0 rules="none" frame="void"
1946
cols="2" cellspacing="0" cellpadding="0">
1947
<tr valign="top" align="left">
1948
<td width="28%"></td>
1953
<!-- INDENTATION -->
1954
<table width="100%" border=0 rules="none" frame="void"
1955
cols="2" cellspacing="0" cellpadding="0">
1956
<tr valign="top" align="left">
1957
<td width="22%"></td>
1961
<!-- INDENTATION -->
1962
<table width="100%" border=0 rules="none" frame="void"
1963
cols="2" cellspacing="0" cellpadding="0">
1964
<tr valign="top" align="left">
1965
<td width="11%"></td>
1967
<p>Both branches cannot be followed, or braces become
1968
unbalanced and <b>ctags</b> would be unable to make sense of
1970
<!-- INDENTATION -->
1971
<p>If the application of this heuristic fails to properly
1972
parse a file, generally due to complicated and inconsistent
1973
pairing within the conditionals, <b>ctags</b> will retry the
1974
file using a different heuristic which does not selectively
1429
<p style="margin-left:22%; margin-top: 1em">#ifdef
1430
TWO_ALTERNATIVES <br>
1436
<p style="margin-left:28%;">short a; <br>
1439
<p style="margin-left:22%;">}</p>
1441
<p style="margin-left:11%; margin-top: 1em">Both branches
1442
cannot be followed, or braces become unbalanced and
1443
<b>ctags</b> would be unable to make sense of the
1446
<p style="margin-left:11%; margin-top: 1em">If the
1447
application of this heuristic fails to properly parse a
1448
file, generally due to complicated and inconsistent pairing
1449
within the conditionals, <b>ctags</b> will retry the file
1450
using a different heuristic which does not selectively
1975
1451
follow conditional preprocessor branches, but instead falls
1976
1452
back to relying upon a closing brace ("}") in
1977
1453
column 1 as indicating the end of a block once any brace
1978
1454
imbalance results from following a #if conditional
1980
<!-- INDENTATION -->
1981
<p><b>Ctags</b> will also try to specially handle arguments
1982
lists enclosed in double sets of parentheses in order to
1983
accept the following conditional construct:</p>
1986
<!-- INDENTATION -->
1987
<table width="100%" border=0 rules="none" frame="void"
1988
cols="2" cellspacing="0" cellpadding="0">
1989
<tr valign="top" align="left">
1990
<td width="22%"></td>
1992
<p>extern void foo __ARGS((int one, char two));</p></td>
1994
<!-- INDENTATION -->
1995
<table width="100%" border=0 rules="none" frame="void"
1996
cols="2" cellspacing="0" cellpadding="0">
1997
<tr valign="top" align="left">
1998
<td width="11%"></td>
2000
<p>Any name immediately preceding the "((" will be
1457
<p style="margin-left:11%; margin-top: 1em"><b>Ctags</b>
1458
will also try to specially handle arguments lists enclosed
1459
in double sets of parentheses in order to accept the
1460
following conditional construct:</p>
1462
<p style="margin-left:22%; margin-top: 1em">extern void foo
1463
__ARGS((int one, char two));</p>
1465
<p style="margin-left:11%; margin-top: 1em">Any name
1466
immediately preceding the "((" will be
2001
1467
automatically ignored and the previous name will be
2003
<!-- INDENTATION -->
2004
<p>C++ operator definitions are specially handled. In order
2005
for consistency with all types of operators (overloaded and
2006
conversion), the operator name in the tag file will always
2007
be preceded by the string "operator " (i.e. even
2008
if the actual operator definition was written as
1470
<p style="margin-left:11%; margin-top: 1em">C++ operator
1471
definitions are specially handled. In order for consistency
1472
with all types of operators (overloaded and conversion), the
1473
operator name in the tag file will always be preceded by the
1474
string "operator " (i.e. even if the actual
1475
operator definition was written as
2009
1476
"operator<<").</p>
2010
<!-- INDENTATION -->
2011
<p>After creating or appending to the tag file, it is sorted
2012
by the tag name, removing identical tag lines.</p>
1478
<p style="margin-left:11%; margin-top: 1em">After creating
1479
or appending to the tag file, it is sorted by the tag name,
1480
removing identical tag lines.</p>
2015
1482
<a name="TAG FILE FORMAT"></a>
2016
1483
<h2>TAG FILE FORMAT</h2>
2017
<!-- INDENTATION -->
2018
<table width="100%" border=0 rules="none" frame="void"
2019
cols="2" cellspacing="0" cellpadding="0">
2020
<tr valign="top" align="left">
2021
<td width="11%"></td>
2023
<p>When not running in etags mode, each entry in the tag
2024
file consists of a separate line, each looking like this in
2025
the most general case:</p>
2028
<!-- INDENTATION -->
2029
<table width="100%" border=0 rules="none" frame="void"
2030
cols="2" cellspacing="0" cellpadding="0">
2031
<tr valign="top" align="left">
2032
<td width="12%"></td>
2035
<p>tag_name<TAB>file_name<TAB>ex_cmd;"<TAB>extension_fields</p></td>
2037
<!-- INDENTATION -->
2038
<table width="100%" border=0 rules="none" frame="void"
2039
cols="2" cellspacing="0" cellpadding="0">
2040
<tr valign="top" align="left">
2041
<td width="11%"></td>
2043
<p>The fields and separators of these lines are specified as
2048
<table width="100%" border=0 rules="none" frame="void"
2049
cols="4" cellspacing="0" cellpadding="0">
2050
<tr valign="top" align="left">
2051
<td width="17%"></td>
2056
<td width="3%"></td>
2061
<tr valign="top" align="left">
2062
<td width="17%"></td>
2067
<td width="3%"></td>
2070
<p>single tab character</p>
2072
<tr valign="top" align="left">
2073
<td width="17%"></td>
2078
<td width="3%"></td>
2081
<p>name of the file in which the object associated with the
2084
<tr valign="top" align="left">
2085
<td width="17%"></td>
2090
<td width="3%"></td>
2093
<p>single tab character</p>
2095
<tr valign="top" align="left">
2096
<td width="17%"></td>
2101
<td width="3%"></td>
2104
<p>EX command used to locate the tag within the file;
2105
generally a search pattern (either /pattern/ or ?pattern?)
2106
or line number (see <b>−−excmd</b>). Tag file
2107
format 2 (see <b>−−format</b>) extends this EX
2108
command under certain circumstances to include a set of
2109
extension fields (described below) embedded in an EX comment
2110
immediately appended to the EX command, which leaves it
2111
backward-compatible with original <b>vi</b>(1)
2112
implementations.</p>
2115
<!-- INDENTATION -->
2116
<table width="100%" border=0 rules="none" frame="void"
2117
cols="2" cellspacing="0" cellpadding="0">
2118
<tr valign="top" align="left">
2119
<td width="11%"></td>
2121
<p>A few special tags are written into the tag file for
2122
internal purposes. These tags are composed in such a way
2123
that they always sort to the top of the file. Therefore, the
2124
first two characters of these tags are used a magic number
2125
to detect a tag file for purposes of determining whether a
2126
valid tag file is being overwritten rather than a source
2128
<!-- INDENTATION -->
2129
<p>Note that the name of each source file will be recorded
2130
in the tag file exactly as it appears on the command line.
2131
Therefore, if the path you specified on the command line was
2132
relative to the current directory, then it will be recorded
2133
in that same manner in the tag file. See, however, the
1486
<p style="margin-left:11%; margin-top: 1em">When not
1487
running in etags mode, each entry in the tag file consists
1488
of a separate line, each looking like this in the most
1492
<p style="margin-left:12%; margin-top: 1em">tag_name<TAB>file_name<TAB>ex_cmd;"<TAB>extension_fields</p>
1494
<p style="margin-left:11%; margin-top: 1em">The fields and
1495
separators of these lines are specified as follows:</p>
1497
<table width="100%" border=0 rules="none" frame="void"
1498
cellspacing="0" cellpadding="0">
1499
<tr valign="top" align="left">
1500
<td width="17%"></td>
1504
<p style="margin-top: 1em" valign="top">1.</p></td>
1505
<td width="3%"></td>
1509
<p style="margin-top: 1em" valign="top">tag name</p></td>
1510
<tr valign="top" align="left">
1511
<td width="17%"></td>
1515
<p valign="top">2.</p></td>
1516
<td width="3%"></td>
1520
<p valign="top">single tab character</p></td>
1521
<tr valign="top" align="left">
1522
<td width="17%"></td>
1526
<p valign="top">3.</p></td>
1527
<td width="3%"></td>
1531
<p valign="top">name of the file in which the object
1532
associated with the tag is located</p></td>
1533
<tr valign="top" align="left">
1534
<td width="17%"></td>
1538
<p valign="top">4.</p></td>
1539
<td width="3%"></td>
1543
<p valign="top">single tab character</p></td>
1544
<tr valign="top" align="left">
1545
<td width="17%"></td>
1549
<p valign="top">5.</p></td>
1550
<td width="3%"></td>
1554
<p valign="top">EX command used to locate the tag within
1555
the file; generally a search pattern (either /pattern/ or
1556
?pattern?) or line number (see <b>−−excmd</b>).
1557
Tag file format 2 (see <b>−−format</b>) extends
1558
this EX command under certain circumstances to include a set
1559
of extension fields (described below) embedded in an EX
1560
comment immediately appended to the EX command, which leaves
1561
it backward-compatible with original <b>vi</b>(1)
1562
implementations.</p> </td>
1565
<p style="margin-left:11%; margin-top: 1em">A few special
1566
tags are written into the tag file for internal purposes.
1567
These tags are composed in such a way that they always sort
1568
to the top of the file. Therefore, the first two characters
1569
of these tags are used a magic number to detect a tag file
1570
for purposes of determining whether a valid tag file is
1571
being overwritten rather than a source file.</p>
1573
<p style="margin-left:11%; margin-top: 1em">Note that the
1574
name of each source file will be recorded in the tag file
1575
exactly as it appears on the command line. Therefore, if the
1576
path you specified on the command line was relative to the
1577
current directory, then it will be recorded in that same
1578
manner in the tag file. See, however, the
2134
1579
<b>−−tag−relative</b> option for how this
2135
1580
behavior can be modified.</p>
2136
<!-- INDENTATION -->
2137
<p>Extension fields are tab-separated key-value pairs
2138
appended to the end of the EX command as a comment, as
2139
described above. These key value pairs appear in the general
2140
form "<i>key</i>:<i>value</i>". Their presence in
2141
the lines of the tag file are controlled by the
1582
<p style="margin-left:11%; margin-top: 1em">Extension
1583
fields are tab-separated key-value pairs appended to the end
1584
of the EX command as a comment, as described above. These
1585
key value pairs appear in the general form
1586
"<i>key</i>:<i>value</i>". Their presence in the
1587
lines of the tag file are controlled by the
2142
1588
<b>−−fields</b> option. The possible keys and
2143
1589
the meaning of their values are as follows:</p>
2147
1591
<table width="100%" border=0 rules="none" frame="void"
2148
cols="4" cellspacing="0" cellpadding="0">
2149
<tr valign="top" align="left">
2150
<td width="11%"></td>
2153
<p><i>access</i></p>
2155
<td width="9%"></td>
2158
<p>Indicates the visibility of this class member, where
2159
<i>value</i> is specific to the language.</p>
2161
<tr valign="top" align="left">
2162
<td width="11%"></td>
2167
<td width="9%"></td>
1592
cellspacing="0" cellpadding="0">
1593
<tr valign="top" align="left">
1594
<td width="11%"></td>
1598
<p style="margin-top: 1em" valign="top"><i>access</i></p></td>
1599
<td width="9%"></td>
1603
<p style="margin-top: 1em" valign="top">Indicates the
1604
visibility of this class member, where <i>value</i> is
1605
specific to the language.</p></td>
1606
<tr valign="top" align="left">
1607
<td width="11%"></td>
1611
<p><i>file</i></p></td>
1612
<td width="9%"></td>
2170
1616
<p>Indicates that the tag has file-limited visibility. This
2171
key has no corresponding value.</p>
1617
key has no corresponding value.</p></td>
2173
1618
<tr valign="top" align="left">
2174
1619
<td width="11%"></td>
2175
1620
<td width="9%">
1623
<p><i>kind</i></p></td>
2179
1624
<td width="9%"></td>
2180
1625
<td width="71%">
2182
1628
<p>Indicates the type, or kind, of tag. Its value is either
2183
1629
one of the corresponding one-letter flags described under
2184
1630
the various <b>−−<LANG>−kinds</b>
2185
1631
options above, or a full name. It is permitted (and is, in
2186
1632
fact, the default) for the key portion of this field to be
2187
1633
omitted. The optional behaviors are controlled with the
2188
<b>−−fields</b> option.</p>
2191
<!-- INDENTATION -->
2192
<table width="100%" border=0 rules="none" frame="void"
2193
cols="2" cellspacing="0" cellpadding="0">
2194
<tr valign="top" align="left">
2195
<td width="11%"></td>
2197
<p><i>implementation</i></p></td>
2199
<!-- INDENTATION -->
2200
<table width="100%" border=0 rules="none" frame="void"
2201
cols="2" cellspacing="0" cellpadding="0">
2202
<tr valign="top" align="left">
2203
<td width="29%"></td>
2205
<p>When present, this indicates a limited implementation
2206
(abstract vs. concrete) of a routine or class, where
2207
<i>value</i> is specific to the language
1634
<b>−−fields</b> option.</p></td>
1637
<p style="margin-left:11%;"><i>implementation</i></p>
1639
<p style="margin-left:29%;">When present, this indicates a
1640
limited implementation (abstract vs. concrete) of a routine
1641
or class, where <i>value</i> is specific to the language
2208
1642
("virtual" or "pure virtual" for C++;
2209
1643
"abstract" for Java).</p>
2213
1645
<table width="100%" border=0 rules="none" frame="void"
2214
cols="4" cellspacing="0" cellpadding="0">
2215
<tr valign="top" align="left">
2216
<td width="11%"></td>
2219
<p><i>inherits</i></p>
2221
<td width="4%"></td>
2224
<p>When present, <i>value</i>. is a comma-separated list of
2225
classes from which this class is derived (i.e. inherits
2228
<tr valign="top" align="left">
2229
<td width="11%"></td>
2232
<p><i>signature</i></p>
2234
<td width="4%"></td>
1646
cellspacing="0" cellpadding="0">
1647
<tr valign="top" align="left">
1648
<td width="11%"></td>
1653
<p style="margin-top: 1em" valign="top"><i>inherits</i></p> </td>
1654
<td width="4%"></td>
1658
<p style="margin-top: 1em" valign="top">When present,
1659
<i>value</i>. is a comma-separated list of classes from
1660
which this class is derived (i.e. inherits from).</p></td>
1661
<tr valign="top" align="left">
1662
<td width="11%"></td>
1666
<p><i>signature</i></p></td>
1667
<td width="4%"></td>
2237
1671
<p>When present, <i>value</i> is a language-dependent
2238
1672
representation of the signature of a routine. A routine
2239
1673
signature in its complete form specifies the return type of
2240
1674
a routine and its formal argument list. This extension field
2241
1675
is presently supported only for C-based languages and does
2242
not include the return type.</p>
2245
<!-- INDENTATION -->
2246
<table width="100%" border=0 rules="none" frame="void"
2247
cols="2" cellspacing="0" cellpadding="0">
2248
<tr valign="top" align="left">
2249
<td width="11%"></td>
2251
<p>In addition, information on the scope of the tag
2252
definition may be available, with the key portion equal to
2253
some language-dependent construct name and its value the
2254
name declared for that construct in the program. This scope
2255
entry indicates the scope in which the tag was found. For
2256
example, a tag generated for a C structure member would have
2257
a scope looking like "struct:myStruct".</p>
1676
not include the return type.</p></td>
1679
<p style="margin-left:11%; margin-top: 1em">In addition,
1680
information on the scope of the tag definition may be
1681
available, with the key portion equal to some
1682
language-dependent construct name and its value the name
1683
declared for that construct in the program. This scope entry
1684
indicates the scope in which the tag was found. For example,
1685
a tag generated for a C structure member would have a scope
1686
looking like "struct:myStruct".</p>
2260
1688
<a name="HOW TO USE WITH VI"></a>
2261
1689
<h2>HOW TO USE WITH VI</h2>
2262
<!-- INDENTATION -->
2263
<table width="100%" border=0 rules="none" frame="void"
2264
cols="2" cellspacing="0" cellpadding="0">
2265
<tr valign="top" align="left">
2266
<td width="11%"></td>
2268
<p>Vi will, by default, expect a tag file by the name
2269
"tags" in the current directory. Once the tag file
2270
is built, the following commands exercise the tag indexing
2275
<table width="100%" border=0 rules="none" frame="void"
2276
cols="4" cellspacing="0" cellpadding="0">
2277
<tr valign="top" align="left">
2278
<td width="11%"></td>
2281
<p><b>vi −t tag</b></p>
2283
<td width="4%"></td>
2286
<p>Start vi and position the cursor at the file and line
2287
where "tag" is defined.</p>
2289
<tr valign="top" align="left">
2290
<td width="11%"></td>
2293
<p><b>:ta tag</b></p>
2295
<td width="4%"></td>
2300
<tr valign="top" align="left">
2301
<td width="11%"></td>
2304
<p><b>Ctrl-]</b></p>
2306
<td width="4%"></td>
2309
<p>Find the tag under the cursor.</p>
2311
<tr valign="top" align="left">
2312
<td width="11%"></td>
2315
<p><b>Ctrl-T</b></p>
2317
<td width="4%"></td>
2320
<p>Return to previous location before jump to tag (not
2321
widely implemented).</p>
1692
<p style="margin-left:11%; margin-top: 1em">Vi will, by
1693
default, expect a tag file by the name "tags" in
1694
the current directory. Once the tag file is built, the
1695
following commands exercise the tag indexing feature:</p>
1697
<table width="100%" border=0 rules="none" frame="void"
1698
cellspacing="0" cellpadding="0">
1699
<tr valign="top" align="left">
1700
<td width="11%"></td>
1704
<p style="margin-top: 1em" valign="top"><b>vi −t
1706
<td width="4%"></td>
1710
<p style="margin-top: 1em" valign="top">Start vi and
1711
position the cursor at the file and line where
1712
"tag" is defined.</p></td>
1713
<tr valign="top" align="left">
1714
<td width="11%"></td>
1718
<p style="margin-top: 1em" valign="top"><b>:ta tag</b></p></td>
1719
<td width="4%"></td>
1723
<p style="margin-top: 1em" valign="top">Find a tag.</p></td>
1724
<tr valign="top" align="left">
1725
<td width="11%"></td>
1729
<p style="margin-top: 1em" valign="top"><b>Ctrl-]</b></p></td>
1730
<td width="4%"></td>
1734
<p style="margin-top: 1em" valign="top">Find the tag under
1735
the cursor.</p></td>
1736
<tr valign="top" align="left">
1737
<td width="11%"></td>
1741
<p style="margin-top: 1em" valign="top"><b>Ctrl-T</b></p></td>
1742
<td width="4%"></td>
1746
<p style="margin-top: 1em" valign="top">Return to previous
1747
location before jump to tag (not widely implemented).</p></td>
2324
1750
<a name="HOW TO USE WITH GNU EMACS"></a>
2325
1751
<h2>HOW TO USE WITH GNU EMACS</h2>
2326
<!-- INDENTATION -->
2327
<table width="100%" border=0 rules="none" frame="void"
2328
cols="2" cellspacing="0" cellpadding="0">
2329
<tr valign="top" align="left">
2330
<td width="11%"></td>
2332
<p>Emacs will, by default, expect a tag file by the name
2333
"TAGS" in the current directory. Once the tag file
2334
is built, the following commands exercise the tag indexing
2338
<!-- INDENTATION -->
2339
<table width="100%" border=0 rules="none" frame="void"
2340
cols="2" cellspacing="0" cellpadding="0">
2341
<tr valign="top" align="left">
2342
<td width="11%"></td>
2344
<p><b>M-x visit−tags−table <RET> FILE
2345
<RET></b></p></td>
2347
<!-- INDENTATION -->
2348
<table width="100%" border=0 rules="none" frame="void"
2349
cols="2" cellspacing="0" cellpadding="0">
2350
<tr valign="top" align="left">
2351
<td width="26%"></td>
2353
<p>Select the tag file, "FILE", to use.</p>
2356
<!-- INDENTATION -->
2357
<table width="100%" border=0 rules="none" frame="void"
2358
cols="2" cellspacing="0" cellpadding="0">
2359
<tr valign="top" align="left">
2360
<td width="11%"></td>
2362
<p><b>M-. [TAG] <RET></b></p></td>
2364
<!-- INDENTATION -->
2365
<table width="100%" border=0 rules="none" frame="void"
2366
cols="2" cellspacing="0" cellpadding="0">
2367
<tr valign="top" align="left">
2368
<td width="26%"></td>
2370
<p>Find the first definition of TAG. The default tag is the
2371
identifier under the cursor.</p>
2375
<table width="100%" border=0 rules="none" frame="void"
2376
cols="5" cellspacing="0" cellpadding="0">
2377
<tr valign="top" align="left">
2378
<td width="11%"></td>
2383
<td width="4%"></td>
2386
<p>Pop back to where you previously invoked
2387
"M-.".</p>
2391
<tr valign="top" align="left">
2392
<td width="11%"></td>
2395
<p><b>C-u M-.</b></p>
2397
<td width="4%"></td>
2400
<p>Find the next definition for the last tag.</p>
2405
<!-- INDENTATION -->
2406
<table width="100%" border=0 rules="none" frame="void"
2407
cols="2" cellspacing="0" cellpadding="0">
2408
<tr valign="top" align="left">
2409
<td width="11%"></td>
2411
<p>For more commands, see the <i>Tags</i> topic in the Emacs
1754
<p style="margin-left:11%; margin-top: 1em">Emacs will, by
1755
default, expect a tag file by the name "TAGS" in
1756
the current directory. Once the tag file is built, the
1757
following commands exercise the tag indexing feature:
1759
M-x visit−tags−table <RET> FILE
1762
<p style="margin-left:26%;">Select the tag file,
1763
"FILE", to use.</p>
1765
<p style="margin-left:11%;"><b>M-. [TAG]
1768
<p style="margin-left:26%;">Find the first definition of
1769
TAG. The default tag is the identifier under the cursor.</p>
1771
<table width="100%" border=0 rules="none" frame="void"
1772
cellspacing="0" cellpadding="0">
1773
<tr valign="top" align="left">
1774
<td width="11%"></td>
1778
<p style="margin-top: 1em" valign="top"><b>M-*</b></p></td>
1779
<td width="4%"></td>
1783
<p style="margin-top: 1em" valign="top">Pop back to where
1784
you previously invoked "M-.".</p></td>
1787
<tr valign="top" align="left">
1788
<td width="11%"></td>
1792
<p style="margin-top: 1em" valign="top"><b>C-u M-.</b></p></td>
1793
<td width="4%"></td>
1797
<p style="margin-top: 1em" valign="top">Find the next
1798
definition for the last tag.</p></td>
1803
<p style="margin-left:11%; margin-top: 1em">For more
1804
commands, see the <i>Tags</i> topic in the Emacs info
2415
1807
<a name="HOW TO USE WITH NEDIT"></a>
2416
1808
<h2>HOW TO USE WITH NEDIT</h2>
2417
<!-- INDENTATION -->
2418
<table width="100%" border=0 rules="none" frame="void"
2419
cols="2" cellspacing="0" cellpadding="0">
2420
<tr valign="top" align="left">
2421
<td width="11%"></td>
2423
<p>NEdit version 5.1 and later can handle the new extended
2424
tag file format (see <b>−−format</b>). To make
2425
NEdit use the tag file, select "File−>Load
2426
Tags File". To jump to the definition for a tag,
2427
highlight the word, the press Ctrl-D. NEdit 5.1 can can read
2428
multiple tag files from different directories. Setting the X
2429
resource nedit.tagFile to the name of a tag file instructs
2430
NEdit to automatically load that tag file at startup
1811
<p style="margin-left:11%; margin-top: 1em">NEdit version
1812
5.1 and later can handle the new extended tag file format
1813
(see <b>−−format</b>). To make NEdit use the tag
1814
file, select "File−>Load Tags File". To
1815
jump to the definition for a tag, highlight the word, the
1816
press Ctrl-D. NEdit 5.1 can can read multiple tag files from
1817
different directories. Setting the X resource nedit.tagFile
1818
to the name of a tag file instructs NEdit to automatically
1819
load that tag file at startup time.</p>
2434
1821
<a name="CAVEATS"></a>
2435
1822
<h2>CAVEATS</h2>
2436
<!-- INDENTATION -->
2437
<table width="100%" border=0 rules="none" frame="void"
2438
cols="2" cellspacing="0" cellpadding="0">
2439
<tr valign="top" align="left">
2440
<td width="11%"></td>
2442
<p>Because <b>ctags</b> is neither a preprocessor nor a
2443
compiler, use of preprocessor macros can fool <b>ctags</b>
2444
into either missing tags or improperly generating
2445
inappropriate tags. Although <b>ctags</b> has been designed
2446
to handle certain common cases, this is the single biggest
2447
cause of reported problems. In particular, the use of
2448
preprocessor constructs which alter the textual syntax of C
2449
can fool <b>ctags</b>. You can work around many such
2450
problems by using the <b>−I</b> option.</p>
2451
<!-- INDENTATION -->
2452
<p>Note that since <b>ctags</b> generates patterns for
2453
locating tags (see the <b>−−excmd</b> option),
2454
it is entirely possible that the wrong line may be found by
2455
your editor if there exists another source line which is
2456
identical to the line containing the tag. The following
2457
example demonstrates this condition:</p>
2460
<!-- INDENTATION -->
2461
<table width="100%" border=0 rules="none" frame="void"
2462
cols="2" cellspacing="0" cellpadding="0">
2463
<tr valign="top" align="left">
2464
<td width="22%"></td>
2466
<p>int variable;</p>
2467
<!-- INDENTATION -->
2469
void foo(variable)<br>
2473
<!-- INDENTATION -->
2474
<table width="100%" border=0 rules="none" frame="void"
2475
cols="2" cellspacing="0" cellpadding="0">
2476
<tr valign="top" align="left">
2477
<td width="28%"></td>
2479
<p>/* ... */</p></td>
2481
<!-- INDENTATION -->
2482
<table width="100%" border=0 rules="none" frame="void"
2483
cols="2" cellspacing="0" cellpadding="0">
2484
<tr valign="top" align="left">
2485
<td width="22%"></td>
2489
<!-- INDENTATION -->
2490
<table width="100%" border=0 rules="none" frame="void"
2491
cols="2" cellspacing="0" cellpadding="0">
2492
<tr valign="top" align="left">
2493
<td width="11%"></td>
2495
<p>Depending upon which editor you use and where in the code
2496
you happen to be, it is possible that the search pattern may
2497
locate the local parameter declaration in foo() before it
2498
finds the actual global variable definition, since the lines
2499
(and therefore their search patterns are identical). This
2500
can be avoided by use of the
2501
<b>−−excmd</b>=<i>n</i> option.</p>
1825
<p style="margin-left:11%; margin-top: 1em">Because
1826
<b>ctags</b> is neither a preprocessor nor a compiler, use
1827
of preprocessor macros can fool <b>ctags</b> into either
1828
missing tags or improperly generating inappropriate tags.
1829
Although <b>ctags</b> has been designed to handle certain
1830
common cases, this is the single biggest cause of reported
1831
problems. In particular, the use of preprocessor constructs
1832
which alter the textual syntax of C can fool <b>ctags</b>.
1833
You can work around many such problems by using the
1834
<b>−I</b> option.</p>
1836
<p style="margin-left:11%; margin-top: 1em">Note that since
1837
<b>ctags</b> generates patterns for locating tags (see the
1838
<b>−−excmd</b> option), it is entirely possible
1839
that the wrong line may be found by your editor if there
1840
exists another source line which is identical to the line
1841
containing the tag. The following example demonstrates this
1844
<p style="margin-left:22%; margin-top: 1em">int
1847
<p style="margin-left:22%; margin-top: 1em">/* ... */ <br>
1848
void foo(variable) <br>
1852
<p style="margin-left:28%;">/* ... */</p>
1854
<p style="margin-left:22%;">}</p>
1856
<p style="margin-left:11%; margin-top: 1em">Depending upon
1857
which editor you use and where in the code you happen to be,
1858
it is possible that the search pattern may locate the local
1859
parameter declaration in foo() before it finds the actual
1860
global variable definition, since the lines (and therefore
1861
their search patterns are identical). This can be avoided by
1862
use of the <b>−−excmd</b>=<i>n</i> option.</p>
2504
1864
<a name="BUGS"></a>
2506
<!-- INDENTATION -->
2507
<table width="100%" border=0 rules="none" frame="void"
2508
cols="2" cellspacing="0" cellpadding="0">
2509
<tr valign="top" align="left">
2510
<td width="11%"></td>
2512
<p><b>Ctags</b> has more options than <b>ls</b>(1).</p>
2513
<!-- INDENTATION -->
2514
<p>When parsing a C++ member function definition (e.g.
1868
<p style="margin-left:11%; margin-top: 1em"><b>Ctags</b>
1869
has more options than <b>ls</b>(1).</p>
1871
<p style="margin-left:11%; margin-top: 1em">When parsing a
1872
C++ member function definition (e.g.
2515
1873
"className::function"), <b>ctags</b> cannot
2516
1874
determine whether the scope specifier is a class name or a
2517
1875
namespace specifier and always lists it as a class name in
2590
1950
operating system. If the sort utility of the operating
2591
1951
system is being used, it will generally observe this
2592
1952
variable also. Note that if <b>ctags</b> is setuid, the
2593
value of TMPDIR will be ignored.</p>
1953
value of TMPDIR will be ignored.</p></td>
2596
1956
<a name="FILES"></a>
2598
<!-- INDENTATION -->
2599
<table width="100%" border=0 rules="none" frame="void"
2600
cols="2" cellspacing="0" cellpadding="0">
2601
<tr valign="top" align="left">
2602
<td width="11%"></td>
2604
<p><i>/ctags.cnf (on MSDOS, MSWindows only)<br>
2606
/usr/local/etc/ctags.conf<br>
2608
$HOME/ctags.cnf (on MSDOS, MSWindows only)<br>
2610
ctags.cnf (on MSDOS, MSWindows only)</i></p></td>
2612
<!-- INDENTATION -->
2613
<table width="100%" border=0 rules="none" frame="void"
2614
cols="2" cellspacing="0" cellpadding="0">
2615
<tr valign="top" align="left">
2616
<td width="22%"></td>
2618
<p>If any of these configuration files exist, each will be
2619
expected to contain a set of default options which are read
2620
in the order listed when <b>ctags</b> starts, but before the
2621
<b>CTAGS</b> environment variable is read or any command
2622
line options are read. This makes it possible to set up
2623
site-wide, personal or project-level defaults. It is
2624
possible to compile <b>ctags</b> to read an additional
2625
configuration file before any of those shown above, which
2626
will be indicated if the output produced by the
2627
<b>−−version</b> option lists the
2628
"custom-conf" feature. Options appearing in the
2629
<b>CTAGS</b> environment variable or on the command line
2630
will override options specified in these files. Only options
2631
will be read from these files. Note that the option files
2632
are read in line-oriented mode in which spaces are
1960
<p style="margin-left:11%; margin-top: 1em"><i>/ctags.cnf
1961
(on MSDOS, MSWindows only) <br>
1962
/etc/ctags.conf <br>
1963
/usr/local/etc/ctags.conf <br>
1965
$HOME/ctags.cnf (on MSDOS, MSWindows only) <br>
1967
ctags.cnf (on MSDOS, MSWindows only)</i></p>
1969
<p style="margin-left:22%;">If any of these configuration
1970
files exist, each will be expected to contain a set of
1971
default options which are read in the order listed when
1972
<b>ctags</b> starts, but before the <b>CTAGS</b> environment
1973
variable is read or any command line options are read. This
1974
makes it possible to set up site-wide, personal or
1975
project-level defaults. It is possible to compile
1976
<b>ctags</b> to read an additional configuration file before
1977
any of those shown above, which will be indicated if the
1978
output produced by the <b>−−version</b> option
1979
lists the "custom-conf" feature. Options appearing
1980
in the <b>CTAGS</b> environment variable or on the command
1981
line will override options specified in these files. Only
1982
options will be read from these files. Note that the option
1983
files are read in line-oriented mode in which spaces are
2633
1984
significant (since shell quoting is not possible). Each line
2634
1985
of the file is read as one command line parameter (as if it
2635
1986
were quoted with single quotes). Therefore, use new lines to
2636
1987
indicate separate command-line arguments.</p>
2640
1989
<table width="100%" border=0 rules="none" frame="void"
2641
cols="5" cellspacing="0" cellpadding="0">
1990
cellspacing="0" cellpadding="0">
2642
1991
<tr valign="top" align="left">
2643
1992
<td width="11%"></td>
2644
1993
<td width="6%">
1996
<p style="margin-top: 1em" valign="top"><i>tags</i></p></td>
2648
1997
<td width="5%"></td>
2649
1998
<td width="58%">
2651
<p>The default tag file created by <b>ctags</b>.</p>
2001
<p style="margin-top: 1em" valign="top">The default tag
2002
file created by <b>ctags</b>.</p></td>
2653
2003
<td width="20%">
2655
2005
<tr valign="top" align="left">
2656
2006
<td width="11%"></td>
2657
2007
<td width="6%">
2010
<p style="margin-top: 1em" valign="top"><i>TAGS</i></p></td>
2661
2011
<td width="5%"></td>
2662
2012
<td width="58%">
2664
<p>The default tag file created by <b>etags</b>.</p>
2015
<p style="margin-top: 1em" valign="top">The default tag
2016
file created by <b>etags</b>.</p></td>
2666
2017
<td width="20%">
2669
2021
<a name="SEE ALSO"></a>
2670
2022
<h2>SEE ALSO</h2>
2671
<!-- INDENTATION -->
2672
<table width="100%" border=0 rules="none" frame="void"
2673
cols="2" cellspacing="0" cellpadding="0">
2674
<tr valign="top" align="left">
2675
<td width="11%"></td>
2677
<p>The official Exuberant Ctags web site at:</p>
2680
<!-- INDENTATION -->
2681
<table width="100%" border=0 rules="none" frame="void"
2682
cols="2" cellspacing="0" cellpadding="0">
2683
<tr valign="top" align="left">
2684
<td width="22%"></td>
2686
<p>http://ctags.sourceforge.net</p></td>
2688
<!-- INDENTATION -->
2689
<table width="100%" border=0 rules="none" frame="void"
2690
cols="2" cellspacing="0" cellpadding="0">
2691
<tr valign="top" align="left">
2692
<td width="11%"></td>
2694
<p>Also <b>ex</b>(1), <b>vi</b>(1), <b>elvis</b>, or, better
2695
yet, <b>vim</b>, the official editor of <b>ctags</b>. For
2696
more information on <b>vim</b>, see the VIM Pages web site
2025
<p style="margin-left:11%; margin-top: 1em">The official
2026
Exuberant Ctags web site at:</p>
2029
<p style="margin-left:22%; margin-top: 1em">http://ctags.sourceforge.net</p>
2031
<p style="margin-left:11%; margin-top: 1em">Also
2032
<b>ex</b>(1), <b>vi</b>(1), <b>elvis</b>, or, better yet,
2033
<b>vim</b>, the official editor of <b>ctags</b>. For more
2034
information on <b>vim</b>, see the VIM Pages web site
2700
<!-- INDENTATION -->
2701
<table width="100%" border=0 rules="none" frame="void"
2702
cols="2" cellspacing="0" cellpadding="0">
2703
<tr valign="top" align="left">
2704
<td width="22%"></td>
2706
<p>http://www.vim.org/</p></td>
2038
<p style="margin-left:22%; margin-top: 1em">http://www.vim.org/</p>
2708
2040
<a name="AUTHOR"></a>
2709
2041
<h2>AUTHOR</h2>
2710
<!-- INDENTATION -->
2711
<table width="100%" border=0 rules="none" frame="void"
2712
cols="2" cellspacing="0" cellpadding="0">
2713
<tr valign="top" align="left">
2714
<td width="11%"></td>
2716
<p>Darren Hiebert <dhiebert at
2717
users.sourceforge.net><br>
2044
<p style="margin-left:11%; margin-top: 1em">Darren Hiebert
2045
<dhiebert at users.sourceforge.net> <br>
2718
2046
http://DarrenHiebert.com/</p>
2721
2048
<a name="MOTIVATION"></a>
2722
2049
<h2>MOTIVATION</h2>
2723
<!-- INDENTATION -->
2724
<table width="100%" border=0 rules="none" frame="void"
2725
cols="2" cellspacing="0" cellpadding="0">
2726
<tr valign="top" align="left">
2727
<td width="11%"></td>
2729
<p>"Think ye at all times of rendering some service to
2730
every member of the human race."</p>
2731
<!-- INDENTATION -->
2732
<p>"All effort and exertion put forth by man from the
2733
fullness of his heart is worship, if it is prompted by the
2734
highest motives and the will to do service to
2738
<!-- INDENTATION -->
2739
<table width="100%" border=0 rules="none" frame="void"
2740
cols="2" cellspacing="0" cellpadding="0">
2741
<tr valign="top" align="left">
2742
<td width="22%"></td>
2744
<p>−− From the Baha’i Writings</p></td>
2052
<p style="margin-left:11%; margin-top: 1em">"Think ye
2053
at all times of rendering some service to every member of
2054
the human race."</p>
2056
<p style="margin-left:11%; margin-top: 1em">"All
2057
effort and exertion put forth by man from the fullness of
2058
his heart is worship, if it is prompted by the highest
2059
motives and the will to do service to humanity."</p>
2061
<p style="margin-left:22%; margin-top: 1em">−−
2062
From the Baha’i Writings</p>
2746
2064
<a name="CREDITS"></a>
2747
2065
<h2>CREDITS</h2>
2748
<!-- INDENTATION -->
2749
<table width="100%" border=0 rules="none" frame="void"
2750
cols="2" cellspacing="0" cellpadding="0">
2751
<tr valign="top" align="left">
2752
<td width="11%"></td>
2754
<p>This version of <b>ctags</b> was originally derived from
2755
and inspired by the ctags program by Steve Kirkendall
2068
<p style="margin-left:11%; margin-top: 1em">This version of
2069
<b>ctags</b> was originally derived from and inspired by the
2070
ctags program by Steve Kirkendall
2756
2071
<kirkenda@cs.pdx.edu> that comes with the Elvis vi
2757
2072
clone (though virtually none of the original code
2759
<!-- INDENTATION -->
2760
<p>Credit is also due Bram Moolenaar <Bram@vim.org>,
2761
the author of <b>vim</b>, who has devoted so much of his
2762
time and energy both to developing the editor as a service
2763
to others, and to helping the orphans of Uganda.</p>
2764
<!-- INDENTATION -->
2765
<p>The section entitled "HOW TO USE WITH GNU
2766
EMACS" was shamelessly stolen from the info page for
2767
GNU <b>etags</b>.</p>
2075
<p style="margin-left:11%; margin-top: 1em">Credit is also
2076
due Bram Moolenaar <Bram@vim.org>, the author of
2077
<b>vim</b>, who has devoted so much of his time and energy
2078
both to developing the editor as a service to others, and to
2079
helping the orphans of Uganda.</p>
2081
<p style="margin-left:11%; margin-top: 1em">The section
2082
entitled "HOW TO USE WITH GNU EMACS" was
2083
shamelessly stolen from the info page for GNU