man ootags (Commandes) - generate tag file for OO-Browser

NAME

ootags - generate tag file for OO-Browser

SYNOPSIS

ootags [ options ] [[ regex-option ... ] file-name ] ...

DESCRIPTION

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 -l lang 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.

SEE ALSO

etags (1), ctags (1), the OO-Browser User Manual in your info (1) directory.

BUGS

Report ootags bugs to http://sourceforge.net/projects/oo-browser/.

AUTHORS

Ctags originally by Ken Arnold. Fortran added by Jim Kleckner. Ed Pelegri-Llopart added C typedefs. Gnu Emacs TAGS format and modifications by RMS? Sam Kendall added C++. Francesco Potorti` reorganised C and C++ based on work by Joe Wells. Regexp tags by Tom Tromey. Modified for use as ootags.c by Bob Weiner <bwcto@users.sourceforge.net> and Steve Baur, at BeOpen.com.

This man page was written by David Coe <davidc@debian.org> for the Debian Project, but may be used by others.