ETAGS(1) GNU ETAGS(1) (NAME) etags - Emacs vi (SYNOPSIS) etags [-aCDGIQRVh] [-i file] [-l language] [-o tagfile] [-r regexp] [--parse-stdin=file] [--append] [--no-defines] [--globals] [--no-globals] [--no-line-directive] [--include=file] [--ignore-indentation] [--language=language] [--members] [--no-members] [--output=tagfile] [--class-qualify] [--regex=regexp] [--no-regex] [--no-fallback-lang] [--fallback-lang] [--no-empty-file-entries] [--empty-file-entries] [--help] [--version] file ... etags --ctags [-aCdgIQRVh] [-BtTuvwx] [-l language] [-o tagfile] [-r regexp] [--parse-stdin=file] [--append] [--backward-search] [--cxref] [--no-defines] [--globals] [--no-globals] [--no-line-directive] [--ignore-indentation] [--language=language] [--members] [--no-members] [--class-qualify] [--output=tagfile] [--regex=regexp] [--update] [--help] [--version] file ... (DESCRIPTION) etags (tag table) emacs(1) --ctags vi(1) . C Objective C C++ Java Fortran Ada Cobol Erlang Forth Go HTML LaTeX Emacs Lisp/Common Lisp Lua Makefile Mercury Pascal Perl Ruby Rust PHP PostScript Python Prolog Scheme . (: TAGS --ctags tags) . . /dev . . - C Cweb - . gzip bzip2 xz zstd . . --language . (OPTIONS) vi --ctags . . -a, --append . ( vi --update .) -B, --backward-search vi -B "?" . "/" . --ctags . --declarations C extern --no-globals . Lisp (defvar foo) . Mercury ":-" . Prolog . -D, --no-defines C enum. . --globals Perl Makefile. C . --no-globals C . . --no-line-directive #line C . #line . #line . -i file, --include=file file . etags . -I, --ignore-indentation . C C++ . . -l language, --language=language . . --help . Mercury Objective-C .m . --language=mercury --language=objc . "auto" . "none" ( --regex ). --members PHP . C . --no-members . --packages-only Ada. --parse-stdin=file ( ) . etags FILE . -Q, --class-qualify C++ ObjC Java Perl. class::member C++ Perl class(category) Objective C class.member Java . Objective C foo:bar:baz:more . -o tagfile, --output=tagfile etags - TAGS tags . ( -v -x .) -r regexp, --regex=regexp . -R . . : [{language}]/tagregexp/[nameregexp/]modifiers @regexfile tagregexp . . tagregexp nameregexp . --ctags nameregexp . Emacs GNU grep ( shy group ) [:ascii:] [:multibyte:] [:nonascii:] [:word:] [:unibyte:] . : \a, \b, \d, \e, \f, \n, \r, \t, \v BEL BS DEL ESC FF NL CR TAB VT . modifiers : i m tagregexp s m tagregexp . / @ . . {language} language . . regexfile --regex= . (comment) . . . DEFVAR emacs: --regex='/[ \t]*DEFVAR_[A-Z_ \t(]+"\([^"]+\)"/' VHDL ( ): --language=none --regex='/[ \t]*\(ARCHITECTURE\|\ CONFIGURATION\) +[^ ]* +OF/' --regex='/[ \t]*\ \(ATTRIBUTE\|ENTITY\|FUNCTION\|PACKAGE\( BODY\)?\ \|PROCEDURE\|PROCESS\|TYPE\)[ \t]+\([^ \t(]+\)/\3/' Tcl ( tagregexp ): --lang=none --regex='/proc[ \t]+\([^ \t]+\)/\1/' {lang} . etags --help . (regex files) . . . @ @ . --regex . etags --regex=@regex.file *.c regex.file . -R, --no-regex . --regex . --fallback-lang Fortran C/C++ . . --no-fallback-lang Fortran C/C++ . --empty-file-entries . . --no-empty-file-entries . -u, --update . . . --ctags . -v, --vgrind ( vgrind) . --ctags . -x, --cxref ( cxref) . --ctags . -h, -H, --help . --language=LANG LANG . -V, --version ( emacs etags ). (SEE ALSO) "emacs" info GNU Emacs Manual (Richard Stallman). cxref(1), emacs(1), vgrind(1), vi(1). (COPYING) - (Free Software Foundation, Inc.) . . . GNU Tools 2025-03-22 ETAGS(1)