From: Francesco Potortì Date: Thu, 15 Nov 2007 15:08:38 +0000 (+0000) Subject: Note that you can use "-" with --output=file in Etags. X-Git-Tag: emacs-pretest-23.0.90~9737 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b7f2f3fb9acf17cbeac47e9b3200789cc5a4a57;p=emacs.git Note that you can use "-" with --output=file in Etags. --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 73f1bb9e2fd..9b7af92255c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2007-11-15 Francesco Potort,Al(B + + * maintaining.texi (TEXTAGS): note that you can use "-" for stdout with + --output=file. + 2007-11-13 Martin Rudalics * help.texi (Help Summary, Apropos, Misc Help): Fix typos. diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 988d5890b8c..24337cb6f9e 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -367,7 +367,10 @@ etags @var{inputfiles}@dots{} @noindent The @code{etags} program reads the specified files, and writes a tags -table named @file{TAGS} in the current working directory. +table named @file{TAGS} in the current working directory. You can +optionally specify a different file name for the tags table by using the +@samp{--output=@var{file}} option; specifying @file{-} as a file name +prints the tags table to standard output. If the specified files don't exist, @code{etags} looks for compressed versions of them and uncompresses them to read them. Under @@ -406,7 +409,8 @@ well as the files it directly contains. directory where the tags file was initially written. This way, you can move an entire directory tree containing both the tags file and the source files, and the tags file will still refer correctly to the source -files. If the tags file is in @file{/dev}, however, the file names are +files. If the tags file is @file{-} or is in the @file{/dev} directory, +however, the file names are made relative to the current working directory. This is useful, for example, when writing the tags to @file{/dev/stdout}.