diff options
| author | Francesco Potortì | 2002-08-28 12:57:46 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2002-08-28 12:57:46 +0000 |
| commit | 2c37653c705b67fd6228d9331e66eec20c757ccf (patch) | |
| tree | 1ad0f11df5ae3ae40c727b577fe2b1eb7d3f16aa | |
| parent | a821edb8ec1106c7c3581e04a5f404e39c8ad016 (diff) | |
| download | emacs-2c37653c705b67fd6228d9331e66eec20c757ccf.tar.gz emacs-2c37653c705b67fd6228d9331e66eec20c757ccf.zip | |
etags now parses HTML.
| -rw-r--r-- | etc/NEWS | 21 | ||||
| -rw-r--r-- | etc/etags.1 | 2 | ||||
| -rw-r--r-- | man/maintaining.texi | 5 |
3 files changed, 19 insertions, 9 deletions
| @@ -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. |
| 62 | When the file is maintained under version control, that information | 62 | When the file is maintained under version control, that information |
| 63 | appears between the position information and the major mode. | 63 | appears 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 |
| 67 | for all frames, use M-x fringe-mode or the Show/Hide submenu of the | 67 | for 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' | |||
| 682 | span newlines allows writing of much more powerful regular expressions | 682 | span newlines allows writing of much more powerful regular expressions |
| 683 | and rapid prototyping for tagging new languages. | 683 | and 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. |
| 686 | The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v, | 686 | The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v, |
| 687 | respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, | 687 | respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, |
| 688 | CR, TAB, VT, | 688 | CR, TAB, VT, |
| 689 | 689 | ||
| 690 | **** Regular expressions can be bound to a given language | 690 | **** Regular expressions can be bound to a given language. |
| 691 | The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags | 691 | The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags |
| 692 | only for files of language LANGUAGE, and ignored otherwise. This is | 692 | only for files of language LANGUAGE, and ignored otherwise. This is |
| 693 | particularly useful when storing regexps in a file. | 693 | particularly 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. |
| 696 | The --regex=@regexfile option means read the regexps from a file, one | 696 | The --regex=@regexfile option means read the regexps from a file, one |
| 697 | per line. Lines beginning with space or tab are ignored. | 697 | per 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 | |||
| 703 | as you did before, by the sub name, or additionally by looking for | 703 | as you did before, by the sub name, or additionally by looking for |
| 704 | package::sub. | 704 | package::sub. |
| 705 | 705 | ||
| 706 | **** New language PHP: tags are functions, classes and defines. | 706 | **** New language PHP. |
| 707 | Tags are functions, classes and defines. | ||
| 707 | If the --members option is specified to etags, tags are vars also. | 708 | If the --members option is specified to etags, tags are vars also. |
| 708 | 709 | ||
| 710 | **** New language HTML. | ||
| 711 | Title and h1, h2, h3 are tagged. Also, tags are generated when name= is | ||
| 712 | used inside an anchor and whenever id= is used. | ||
| 713 | |||
| 709 | **** New default keywords for TeX. | 714 | **** New default keywords for TeX. |
| 710 | The new keywords are def, newcommand, renewcommand, newenvironment and | 715 | The new keywords are def, newcommand, renewcommand, newenvironment and |
| 711 | renewenvironment. | 716 | renewenvironment. |
| 712 | 717 | ||
| 713 | **** In Makefiles, constants are tagged | 718 | **** In Makefiles, constants are tagged. |
| 714 | If you want the old behavior instead, thus avoiding to increase the | 719 | If you want the old behavior instead, thus avoiding to increase the |
| 715 | size of the tags file, use the --no-globals option. | 720 | size 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 | |||
| 723 | created from Cweb source files. When Etags tags the generated file, it | 728 | created from Cweb source files. When Etags tags the generated file, it |
| 724 | writes tags pointing to the source file. | 729 | writes tags pointing to the source file. |
| 725 | 730 | ||
| 726 | *** New option --parse-stdin=FILE | 731 | *** New option --parse-stdin=FILE. |
| 727 | This option is mostly useful when calling etags from programs. It can | 732 | This option is mostly useful when calling etags from programs. It can |
| 728 | be used (only once) in place of a file name on the command line. Etags | 733 | be used (only once) in place of a file name on the command line. Etags |
| 729 | will read from standard input and mark the produced tags as belonging to | 734 | will 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, | |||
| 925 | C-x C-k C-a, and C-x C-k C-f. See the commentary in kmacro.el | 930 | C-x C-k C-a, and C-x C-k C-f. See the commentary in kmacro.el |
| 926 | for more commands. | 931 | for more commands. |
| 927 | 932 | ||
| 928 | The normal macro bindings C-x (, C-x ), and C-x e now interfaces to | 933 | The normal macro bindings C-x (, C-x ), and C-x e now interfaces to |
| 929 | the keyboard macro ring. | 934 | the 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 | |||
| 49 | format understood by | 49 | format 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 |
| 52 | the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, | 52 | the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, HTML, |
| 53 | LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, PHP, Postscript, | 53 | LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, PHP, Postscript, |
| 54 | Python, Prolog, Scheme and | 54 | Python, Prolog, Scheme and |
| 55 | most assembler\-like syntaxes. | 55 | most 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. | |||
| 337 | In Fortran code, functions, subroutines and block data are tags. | 337 | In Fortran code, functions, subroutines and block data are tags. |
| 338 | 338 | ||
| 339 | @item | 339 | @item |
| 340 | In 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 | ||
| 342 | and all occurrences of @code{id=}. | ||
| 343 | |||
| 344 | @item | ||
| 340 | In makefiles, targets are tags; additionally, variables are tags | 345 | In makefiles, targets are tags; additionally, variables are tags |
| 341 | unless you specify @samp{--no-globals}. | 346 | unless you specify @samp{--no-globals}. |
| 342 | 347 | ||