diff options
| author | Francesco Potortì | 2002-06-06 13:17:37 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2002-06-06 13:17:37 +0000 |
| commit | e4a1e8d966a9685dd71749a78134e760ca219dd5 (patch) | |
| tree | fe09f7c01f6a74cc446d5a4346792fedd43967a4 | |
| parent | 0f374b8b9059ec5393def55103d8835417ef5247 (diff) | |
| download | emacs-e4a1e8d966a9685dd71749a78134e760ca219dd5.tar.gz emacs-e4a1e8d966a9685dd71749a78134e760ca219dd5.zip | |
Document --parse-stdin=FILE for Etags.
Document new default keywords for TeX.
| -rw-r--r-- | man/maintaining.texi | 19 |
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 |
| 245 | In La@TeX{} text, the argument of any of the commands @code{\chapter}, | 245 | In 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}, |
| 249 | tag.@refill | 249 | @code{\index}, @code{\def}, @code{\newcomand}, @code{\renewcommand}, |
| 250 | @code{\newenvironment} or @code{\renewenvironment} is a tag.@refill | ||
| 250 | 251 | ||
| 251 | Other commands can make tags as well, if you specify them in the | 252 | Other commands can make tags as well, if you specify them in the |
| 252 | environment variable @env{TEXTAGS} before invoking @code{etags}. The | 253 | 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 | |||
| 254 | command names. For example, | 255 | command names. For example, |
| 255 | 256 | ||
| 256 | @example | 257 | @example |
| 257 | TEXTAGS="def:newcommand:newenvironment" | 258 | TEXTAGS="mycommand:myothercommand" |
| 258 | export TEXTAGS | 259 | export TEXTAGS |
| 259 | @end example | 260 | @end example |
| 260 | 261 | ||
| 261 | @noindent | 262 | @noindent |
| 262 | specifies (using Bourne shell syntax) that the commands @samp{\def}, | 263 | specifies (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 |
| 266 | In Lisp code, any function defined with @code{defun}, any variable | 267 | In Lisp code, any function defined with @code{defun}, any variable |
| @@ -456,6 +457,12 @@ language from the file names and file contents. Specify | |||
| 456 | entirely; then @code{etags} recognizes tags by regexp matching alone | 457 | entirely; 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 | ||
| 461 | calling @code{etags} from programs. It can be used (only once) in | ||
| 462 | place of a file name on the command line. @code{Etags} will read from | ||
| 463 | standard 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} |
| 460 | knows, and the file name rules for guessing the language. It also prints | 467 | knows, and the file name rules for guessing the language. It also prints |
| 461 | a list of all the available @code{etags} options, together with a short | 468 | a list of all the available @code{etags} options, together with a short |