ootags1
Generate tag file for oo-browser
Usage
ootags [options]
[[regex-option ...]
file-name] ...
Overview
ootags is part of, and intended to be used directly by, the OO-Browser running under emacs. While ootags is a modified (and rather old) version of etags (1) and can be used in similar ways, it is intended to be used automatically by OO-Browser.
If properly installed, the OO-Browser User Manual is in your info (1) directory.
Options
These are the options accepted by ootags. A - as file name means read names from stdin (one per line). Absolute names are stored in the output file as they are. Relative ones are stored relative to the output file's directory.
-
-a -
Append tag entries to existing tags file.
-
-C -
Treat files whose name suffix defaults to C language as C++ files.
-
-D -
Don't create tag entries for C #define constants and enum constants. This makes the tags file smaller.
-
-i file -
Include a note in tag file indicating that, when searching for a tag, one should also consult the tags file file after checking the current file.
-
-l lang -
Force the following files to be considered as written in the named language up to the next
-llang option.
-
-o file -
Write the tags to file.
-
-O -
Generate a specialized tags format used only by the OO-Browser.
-
-I -
Don't rely on indentation quite as much as normal. Currently, this means not to assume that a closing brace in the first column is the final brace of a function or structure definition in C and C++.
-
-V -
Print the version of the program.
-
-h -
Print a help message.
Languages
These are the currently supported languages, along with the default file name suffixes:
asm-
.a .asm .def .inc .ins .s .sa .src
c-
.c .h
c++-
.C .H .c++ .cc .cpp .cxx .h++ .hh .hpp .hxx .M .pdb
c*-
.cs .hs
cobol-
.COB .cob
erlang-
.erl .hrl
fortran-
.F .f .f90 .for
java-
.java
lisp-
.cl .clisp .el .l .lisp .lsp .ml
pascal-
.p .pas
perl-
.pl .pm
postscript-
.ps
proc-
.pc .m .lm
prolog-
.prolog
python-
.py
scheme-
.SCM .SM .oak .sch .scheme .scm .sm .ss .t
tex-
.TeX .bib .clo .cls .ltx .sty .tex
yacc-
.y .ym
auto
none
Where `auto' means use default language for files based on file name suffix, and `none' means only do regexp processing on files. If no language is specified and no matching suffix is found, the first line of the file is read for a sharp-bang (#!) sequence followed by the name of an interpreter. If no such sequence is found, Fortran is tried first; if no tags are found, C is tried next.
Releases
Unchanged in 3 releases since Debian 3.0 (Woody).