aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2002-06-06 13:17:37 +0000
committerFrancesco Potortì2002-06-06 13:17:37 +0000
commite4a1e8d966a9685dd71749a78134e760ca219dd5 (patch)
treefe09f7c01f6a74cc446d5a4346792fedd43967a4
parent0f374b8b9059ec5393def55103d8835417ef5247 (diff)
downloademacs-e4a1e8d966a9685dd71749a78134e760ca219dd5.tar.gz
emacs-e4a1e8d966a9685dd71749a78134e760ca219dd5.zip
Document --parse-stdin=FILE for Etags.
Document new default keywords for TeX.
-rw-r--r--man/maintaining.texi19
1 files 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
244@item 244@item
245In La@TeX{} text, the argument of any of the commands @code{\chapter}, 245In La@TeX{} text, the argument of any of the commands @code{\chapter},
246@code{\section}, @code{\subsection}, @code{\subsubsection}, 246@code{\section}, @code{\subsection}, @code{\subsubsection},
247@code{\eqno}, @code{\label}, @code{\ref}, @code{\cite}, @code{\bibitem}, 247@code{\eqno}, @code{\label}, @code{\ref}, @code{\cite},
248@code{\part}, @code{\appendix}, @code{\entry}, or @code{\index}, is a 248@code{\bibitem}, @code{\part}, @code{\appendix}, @code{\entry},
249tag.@refill 249@code{\index}, @code{\def}, @code{\newcomand}, @code{\renewcommand},
250@code{\newenvironment} or @code{\renewenvironment} is a tag.@refill
250 251
251Other commands can make tags as well, if you specify them in the 252Other commands can make tags as well, if you specify them in the
252environment variable @env{TEXTAGS} before invoking @code{etags}. The 253environment variable @env{TEXTAGS} before invoking @code{etags}. The
@@ -254,13 +255,13 @@ value of this environment variable should be a colon-separated list of
254command names. For example, 255command names. For example,
255 256
256@example 257@example
257TEXTAGS="def:newcommand:newenvironment" 258TEXTAGS="mycommand:myothercommand"
258export TEXTAGS 259export TEXTAGS
259@end example 260@end example
260 261
261@noindent 262@noindent
262specifies (using Bourne shell syntax) that the commands @samp{\def}, 263specifies (using Bourne shell syntax) that the commands
263@samp{\newcommand} and @samp{\newenvironment} also define tags. 264@samp{\mycommand} and @samp{\myothercommand} also define tags.
264 265
265@item 266@item
266In Lisp code, any function defined with @code{defun}, any variable 267In Lisp code, any function defined with @code{defun}, any variable
@@ -456,6 +457,12 @@ language from the file names and file contents. Specify
456entirely; then @code{etags} recognizes tags by regexp matching alone 457entirely; then @code{etags} recognizes tags by regexp matching alone
457(@pxref{Etags Regexps}). 458(@pxref{Etags Regexps}).
458 459
460 The option @samp{--parse-stdin=@var{file}} is mostly useful when
461calling @code{etags} from programs. It can be used (only once) in
462place of a file name on the command line. @code{Etags} will read from
463standard input and mark the produced tags as belonging to the file
464@var{file}.
465
459 @samp{etags --help} prints the list of the languages @code{etags} 466 @samp{etags --help} prints the list of the languages @code{etags}
460knows, and the file name rules for guessing the language. It also prints 467knows, and the file name rules for guessing the language. It also prints
461a list of all the available @code{etags} options, together with a short 468a list of all the available @code{etags} options, together with a short