diff options
| author | Francesco Potortì | 2001-12-15 16:08:32 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2001-12-15 16:08:32 +0000 |
| commit | e94a3679c58f147a91682231f62ff701aee5cfff (patch) | |
| tree | 1ef9a0ef96bee62ac6d00a0b1dc09fa5025bcbf3 | |
| parent | 62aec606f5f6d73ef52c10b4d8ee147c2c9657b9 (diff) | |
| download | emacs-e94a3679c58f147a91682231f62ff701aee5cfff.tar.gz emacs-e94a3679c58f147a91682231f62ff701aee5cfff.zip | |
Etags changes for Prolog and PHP.
| -rw-r--r-- | etc/NEWS | 11 | ||||
| -rw-r--r-- | etc/etags.1 | 3 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 24 | ||||
| -rw-r--r-- | man/maintaining.texi | 8 |
4 files changed, 37 insertions, 9 deletions
| @@ -37,7 +37,7 @@ the combined fringe widths must match an integral number of columns. | |||
| 37 | The extra width is distributed evenly between the left and right fringe. | 37 | The extra width is distributed evenly between the left and right fringe. |
| 38 | For force a specific fringe width, specify the width as a negative | 38 | For force a specific fringe width, specify the width as a negative |
| 39 | integer (if both widths are negative, only the left fringe gets the | 39 | integer (if both widths are negative, only the left fringe gets the |
| 40 | specified width). | 40 | specified width). |
| 41 | 41 | ||
| 42 | Setting the width to nil (the default), restores the default fringe | 42 | Setting the width to nil (the default), restores the default fringe |
| 43 | width which is the minimum number of pixels necessary to display any | 43 | width which is the minimum number of pixels necessary to display any |
| @@ -107,6 +107,13 @@ were changed. | |||
| 107 | ** On terminals whose erase-char is ^H (Backspace), Emacs | 107 | ** On terminals whose erase-char is ^H (Backspace), Emacs |
| 108 | now uses normal-erase-is-backspace-mode. | 108 | now uses normal-erase-is-backspace-mode. |
| 109 | 109 | ||
| 110 | ** Etags changes. | ||
| 111 | |||
| 112 | *** In Prolog, etags creates tags for rules in addition to predicates. | ||
| 113 | |||
| 114 | *** New language PHP: tags are function, classes and defines. If | ||
| 115 | the --members option is specified to etags, tags are vars also. | ||
| 116 | |||
| 110 | +++ | 117 | +++ |
| 111 | ** The command line option --no-windows has been changed to | 118 | ** The command line option --no-windows has been changed to |
| 112 | --no-window-system. The old one still works, but is deprecated. | 119 | --no-window-system. The old one still works, but is deprecated. |
| @@ -396,7 +403,7 @@ current syntactic context (as returned by parse-partial-sexp). | |||
| 396 | 403 | ||
| 397 | *** The TCL package tcl-mode.el was replaced by tcl.el. | 404 | *** The TCL package tcl-mode.el was replaced by tcl.el. |
| 398 | This was actually done in Emacs-21.1 was not documented. | 405 | This was actually done in Emacs-21.1 was not documented. |
| 399 | 406 | ||
| 400 | 407 | ||
| 401 | * Installation Changes in Emacs 21.1 | 408 | * Installation Changes in Emacs 21.1 |
| 402 | 409 | ||
diff --git a/etc/etags.1 b/etc/etags.1 index 21450a8f836..9ba7a064fa4 100644 --- a/etc/etags.1 +++ b/etc/etags.1 | |||
| @@ -50,7 +50,7 @@ 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, |
| 53 | LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, 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. |
| 56 | Both forms read the files specified on the command line, and write a tag | 56 | Both forms read the files specified on the command line, and write a tag |
| @@ -167,6 +167,7 @@ from shell interpretation. | |||
| 167 | Tag the DEFVAR macros in the emacs source files: | 167 | Tag the DEFVAR macros in the emacs source files: |
| 168 | .br | 168 | .br |
| 169 | \fI\-\-regex\='/[ \\t]*DEFVAR_[A-Z_ \\t(]+"\\([^"]+\\)"\/'\fP | 169 | \fI\-\-regex\='/[ \\t]*DEFVAR_[A-Z_ \\t(]+"\\([^"]+\\)"\/'\fP |
| 170 | .\"" This comment is to avoid confusion to Emacs syntax highlighting | ||
| 170 | .br | 171 | .br |
| 171 | 172 | ||
| 172 | Tag VHDL files (this example is a single long line, broken here for | 173 | Tag VHDL files (this example is a single long line, broken here for |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 15bba97c6a7..e92b49363ae 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2001-12-12 Francesco Potorti` <pot@gnu.org> | ||
| 2 | |||
| 3 | * etags.c (PHP_functions): New function by Diez B. Roggisch, | ||
| 4 | heavily adapted by me, for parsing PHP. | ||
| 5 | (LOOKING_AT): New macro. | ||
| 6 | (Perl_functions, Python_functions, PHP_functions) | ||
| 7 | (Scheme_functions, Texinfo_nodes): Use it. | ||
| 8 | (Perl_functions): Use strneq. | ||
| 9 | (prolog_pred): Renamed to prolog_pr. | ||
| 10 | (prolog_pr): Recognise Prolog rules (thanks to Geert Kloosterman) | ||
| 11 | in addition to predicates. | ||
| 12 | [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent | ||
| 13 | unmodified compile, as Cygwin's regex.h is incompatible with us | ||
| 14 | (thanks to Markus Hoenicka). | ||
| 15 | [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string. | ||
| 16 | |||
| 1 | 2001-12-11 Richard M. Stallman <rms@gnu.org> | 17 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
| 2 | 18 | ||
| 3 | * Makefile.in (clean): Don't delete ../etc/DOC*. | 19 | * Makefile.in (clean): Don't delete ../etc/DOC*. |
| @@ -8,10 +24,10 @@ | |||
| 8 | 24 | ||
| 9 | 2001-11-30 Andrew Innes <andrewi@gnu.org> | 25 | 2001-11-30 Andrew Innes <andrewi@gnu.org> |
| 10 | 26 | ||
| 11 | * makefile.w32-in (FACE_SUPPORT): | 27 | * makefile.w32-in (FACE_SUPPORT): |
| 12 | (MOUSE_SUPPORT): | 28 | (MOUSE_SUPPORT): |
| 13 | (FLOAT_SUPPORT): | 29 | (FLOAT_SUPPORT): |
| 14 | (WINNT_SUPPORT): | 30 | (WINNT_SUPPORT): |
| 15 | (lisp): Reference .el files instead of .elc files, to simplify | 31 | (lisp): Reference .el files instead of .elc files, to simplify |
| 16 | bootstrapping. | 32 | bootstrapping. |
| 17 | ($(DOC)): Change dependency to just `make-docfile'. | 33 | ($(DOC)): Change dependency to just `make-docfile'. |
diff --git a/man/maintaining.texi b/man/maintaining.texi index b84b17c3783..e32c3294251 100644 --- a/man/maintaining.texi +++ b/man/maintaining.texi | |||
| @@ -344,10 +344,15 @@ In Perl code, the tags are the procedures defined by the @code{sub}, | |||
| 344 | to tag global variables. | 344 | to tag global variables. |
| 345 | 345 | ||
| 346 | @item | 346 | @item |
| 347 | In PHP code, tags are functions, classes and defines. When using the | ||
| 348 | @samp{--members} option, vars are tags too. | ||
| 349 | |||
| 350 | @item | ||
| 347 | In PostScript code, the tags are the functions. | 351 | In PostScript code, the tags are the functions. |
| 348 | 352 | ||
| 349 | @item | 353 | @item |
| 350 | In Prolog code, a tag name appears at the left margin. | 354 | In Prolog code, tags are predicates and rules at the beginning of |
| 355 | line. | ||
| 351 | 356 | ||
| 352 | @item | 357 | @item |
| 353 | In Python code, @code{def} or @code{class} at the beginning of a line | 358 | In Python code, @code{def} or @code{class} at the beginning of a line |
| @@ -1226,4 +1231,3 @@ commands. | |||
| 1226 | @vindex emerge-startup-hook | 1231 | @vindex emerge-startup-hook |
| 1227 | After setting up the merge, Emerge runs the hook | 1232 | After setting up the merge, Emerge runs the hook |
| 1228 | @code{emerge-startup-hook} (@pxref{Hooks}). | 1233 | @code{emerge-startup-hook} (@pxref{Hooks}). |
| 1229 | |||