From e4a1e8d966a9685dd71749a78134e760ca219dd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Francesco=20Potort=C3=AC?= Date: Thu, 6 Jun 2002 13:17:37 +0000 Subject: [PATCH] Document --parse-stdin=FILE for Etags. Document new default keywords for TeX. --- man/maintaining.texi | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/man/maintaining.texi b/man/maintaining.texi index fdfc45f7a54..221711d8b1b 100644 --- a/man/maintaining.texi +++ b/man/maintaining.texi @@ -244,9 +244,10 @@ Tags for variables and functions in classes are named @item In La@TeX{} text, the argument of any of the commands @code{\chapter}, @code{\section}, @code{\subsection}, @code{\subsubsection}, -@code{\eqno}, @code{\label}, @code{\ref}, @code{\cite}, @code{\bibitem}, -@code{\part}, @code{\appendix}, @code{\entry}, or @code{\index}, is a -tag.@refill +@code{\eqno}, @code{\label}, @code{\ref}, @code{\cite}, +@code{\bibitem}, @code{\part}, @code{\appendix}, @code{\entry}, +@code{\index}, @code{\def}, @code{\newcomand}, @code{\renewcommand}, +@code{\newenvironment} or @code{\renewenvironment} is a tag.@refill Other commands can make tags as well, if you specify them in the environment variable @env{TEXTAGS} before invoking @code{etags}. The @@ -254,13 +255,13 @@ value of this environment variable should be a colon-separated list of command names. For example, @example -TEXTAGS="def:newcommand:newenvironment" +TEXTAGS="mycommand:myothercommand" export TEXTAGS @end example @noindent -specifies (using Bourne shell syntax) that the commands @samp{\def}, -@samp{\newcommand} and @samp{\newenvironment} also define tags. +specifies (using Bourne shell syntax) that the commands +@samp{\mycommand} and @samp{\myothercommand} also define tags. @item In Lisp code, any function defined with @code{defun}, any variable @@ -456,6 +457,12 @@ language from the file names and file contents. Specify entirely; then @code{etags} recognizes tags by regexp matching alone (@pxref{Etags Regexps}). + The option @samp{--parse-stdin=@var{file}} is mostly useful when +calling @code{etags} from programs. It can be used (only once) in +place of a file name on the command line. @code{Etags} will read from +standard input and mark the produced tags as belonging to the file +@var{file}. + @samp{etags --help} prints the list of the languages @code{etags} knows, and the file name rules for guessing the language. It also prints a list of all the available @code{etags} options, together with a short -- 2.39.2