aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2002-08-28 12:57:46 +0000
committerFrancesco Potortì2002-08-28 12:57:46 +0000
commit2c37653c705b67fd6228d9331e66eec20c757ccf (patch)
tree1ad0f11df5ae3ae40c727b577fe2b1eb7d3f16aa
parenta821edb8ec1106c7c3581e04a5f404e39c8ad016 (diff)
downloademacs-2c37653c705b67fd6228d9331e66eec20c757ccf.tar.gz
emacs-2c37653c705b67fd6228d9331e66eec20c757ccf.zip
etags now parses HTML.
-rw-r--r--etc/NEWS21
-rw-r--r--etc/etags.12
-rw-r--r--man/maintaining.texi5
3 files changed, 19 insertions, 9 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7940d1f1c15..db52e2b202e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -61,7 +61,7 @@ See the files mac/README and mac/INSTALL for build instructions.
61** The mode line position information now comes before the major mode. 61** The mode line position information now comes before the major mode.
62When the file is maintained under version control, that information 62When the file is maintained under version control, that information
63appears between the position information and the major mode. 63appears between the position information and the major mode.
64 64
65+++ 65+++
66** You can now customize the use of window fringes. To control this 66** You can now customize the use of window fringes. To control this
67for all frames, use M-x fringe-mode or the Show/Hide submenu of the 67for all frames, use M-x fringe-mode or the Show/Hide submenu of the
@@ -682,17 +682,17 @@ expressions: `m' allows regexps to match more than one line, while `s'
682span newlines allows writing of much more powerful regular expressions 682span newlines allows writing of much more powerful regular expressions
683and rapid prototyping for tagging new languages. 683and rapid prototyping for tagging new languages.
684 684
685**** Regular expressions can use char escape sequences as in Gcc 685**** Regular expressions can use char escape sequences as in Gcc.
686The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v, 686The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v,
687respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, 687respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL,
688CR, TAB, VT, 688CR, TAB, VT,
689 689
690**** Regular expressions can be bound to a given language 690**** Regular expressions can be bound to a given language.
691The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags 691The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags
692only for files of language LANGUAGE, and ignored otherwise. This is 692only for files of language LANGUAGE, and ignored otherwise. This is
693particularly useful when storing regexps in a file. 693particularly useful when storing regexps in a file.
694 694
695**** Regular expressions can be read from a file 695**** Regular expressions can be read from a file.
696The --regex=@regexfile option means read the regexps from a file, one 696The --regex=@regexfile option means read the regexps from a file, one
697per line. Lines beginning with space or tab are ignored. 697per line. Lines beginning with space or tab are ignored.
698 698
@@ -703,14 +703,19 @@ Subroutine tags are named from their package. You can jump to sub tags
703as you did before, by the sub name, or additionally by looking for 703as you did before, by the sub name, or additionally by looking for
704package::sub. 704package::sub.
705 705
706**** New language PHP: tags are functions, classes and defines. 706**** New language PHP.
707Tags are functions, classes and defines.
707If the --members option is specified to etags, tags are vars also. 708If the --members option is specified to etags, tags are vars also.
708 709
710**** New language HTML.
711Title and h1, h2, h3 are tagged. Also, tags are generated when name= is
712used inside an anchor and whenever id= is used.
713
709**** New default keywords for TeX. 714**** New default keywords for TeX.
710The new keywords are def, newcommand, renewcommand, newenvironment and 715The new keywords are def, newcommand, renewcommand, newenvironment and
711renewenvironment. 716renewenvironment.
712 717
713**** In Makefiles, constants are tagged 718**** In Makefiles, constants are tagged.
714If you want the old behavior instead, thus avoiding to increase the 719If you want the old behavior instead, thus avoiding to increase the
715size of the tags file, use the --no-globals option. 720size of the tags file, use the --no-globals option.
716 721
@@ -723,7 +728,7 @@ specified in those directives. This is useful when dealing with code
723created from Cweb source files. When Etags tags the generated file, it 728created from Cweb source files. When Etags tags the generated file, it
724writes tags pointing to the source file. 729writes tags pointing to the source file.
725 730
726*** New option --parse-stdin=FILE 731*** New option --parse-stdin=FILE.
727This option is mostly useful when calling etags from programs. It can 732This option is mostly useful when calling etags from programs. It can
728be used (only once) in place of a file name on the command line. Etags 733be used (only once) in place of a file name on the command line. Etags
729will read from standard input and mark the produced tags as belonging to 734will read from standard input and mark the produced tags as belonging to
@@ -925,7 +930,7 @@ manipulating the macro counter and format via C-x C-k C-c,
925C-x C-k C-a, and C-x C-k C-f. See the commentary in kmacro.el 930C-x C-k C-a, and C-x C-k C-f. See the commentary in kmacro.el
926for more commands. 931for more commands.
927 932
928The normal macro bindings C-x (, C-x ), and C-x e now interfaces to 933The normal macro bindings C-x (, C-x ), and C-x e now interfaces to
929the keyboard macro ring. 934the keyboard macro ring.
930 935
931+++ 936+++
diff --git a/etc/etags.1 b/etc/etags.1
index cd0022012e1..911f20637e8 100644
--- a/etc/etags.1
+++ b/etc/etags.1
@@ -49,7 +49,7 @@ understood by
49format understood by 49format understood by
50.BR vi ( 1 )\c 50.BR vi ( 1 )\c
51\&. Both forms of the program understand 51\&. Both forms of the program understand
52the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, 52the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, HTML,
53LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, PHP, Postscript, 53LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, PHP, Postscript,
54Python, Prolog, Scheme and 54Python, Prolog, Scheme and
55most assembler\-like syntaxes. 55most assembler\-like syntaxes.
diff --git a/man/maintaining.texi b/man/maintaining.texi
index fcc596d03ca..4cbeb743baf 100644
--- a/man/maintaining.texi
+++ b/man/maintaining.texi
@@ -337,6 +337,11 @@ in the file.
337In Fortran code, functions, subroutines and block data are tags. 337In Fortran code, functions, subroutines and block data are tags.
338 338
339@item 339@item
340In HTML input files, the tags are the @code{title} and the @code{h1},
341@code{h2}, @code{h3} headers. Also, tags are @code{name=} in anchors
342and all occurrences of @code{id=}.
343
344@item
340In makefiles, targets are tags; additionally, variables are tags 345In makefiles, targets are tags; additionally, variables are tags
341unless you specify @samp{--no-globals}. 346unless you specify @samp{--no-globals}.
342 347