[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/etc/etags.1
From: |
Francesco Potortì |
Subject: |
[Emacs-diffs] Changes to emacs/etc/etags.1 |
Date: |
Thu, 13 Jun 2002 08:10:15 -0400 |
Index: emacs/etc/etags.1
diff -c emacs/etc/etags.1:3.10 emacs/etc/etags.1:3.11
*** emacs/etc/etags.1:3.10 Thu Jun 13 07:15:46 2002
--- emacs/etc/etags.1 Thu Jun 13 08:10:15 2002
***************
*** 152,160 ****
in addition to the tags made with the standard parsing based on
language. May be freely intermixed with filenames and the \fB\-R\fP
option. The regexps are cumulative, i.e. each such option will add to
! the previous ones. The regexps are of the form:
.br
! \fB/\fP\fItagregexp/\fP[\fInameregexp\fP\fB/\fP]\fImodifiers\fP
.br
where \fItagregexp\fP is used to match the tag. It should not match
--- 152,162 ----
in addition to the tags made with the standard parsing based on
language. May be freely intermixed with filenames and the \fB\-R\fP
option. The regexps are cumulative, i.e. each such option will add to
! the previous ones. The regexps are of one of the forms:
.br
!
[\fB{\fP\fIlanguage\fP\fB}\fP]\fB/\fP\fItagregexp/\fP[\fInameregexp\fP\fB/\fP]\fImodifiers\fP
! .br
! address@hidden
.br
where \fItagregexp\fP is used to match the tag. It should not match
***************
*** 173,178 ****
--- 175,189 ----
at once, rather than line by line, and the matching sequence can match
multiple lines; and \fIs\fP, which implies \fIm\fP and means that the
dot character in \fItagregexp\fP matches the newline char as well.
+ .br
+ cthe optional \fB{\fP\fIlanguage\fP\fB}\fP means that the tag should be
+ created only for files of language \fIlanguage\fP, and ignored
+ otherwise. This is particularly useful when storing many predefined
+ regexps in a file.
+ .br
+ In its second form, \fIregexfile\fP is the name of a file containing
+ regexps, one per line. Lines beginning with a space or tab are assumed
+ to be comments, and ignored.
.br
Here are some examples. All the regexps are quoted to protect them