aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2001-12-15 16:08:32 +0000
committerFrancesco Potortì2001-12-15 16:08:32 +0000
commite94a3679c58f147a91682231f62ff701aee5cfff (patch)
tree1ef9a0ef96bee62ac6d00a0b1dc09fa5025bcbf3
parent62aec606f5f6d73ef52c10b4d8ee147c2c9657b9 (diff)
downloademacs-e94a3679c58f147a91682231f62ff701aee5cfff.tar.gz
emacs-e94a3679c58f147a91682231f62ff701aee5cfff.zip
Etags changes for Prolog and PHP.
-rw-r--r--etc/NEWS11
-rw-r--r--etc/etags.13
-rw-r--r--lib-src/ChangeLog24
-rw-r--r--man/maintaining.texi8
4 files changed, 37 insertions, 9 deletions
diff --git a/etc/NEWS b/etc/NEWS
index be8ed4dfd3b..c7b4e8a059b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -37,7 +37,7 @@ the combined fringe widths must match an integral number of columns.
37The extra width is distributed evenly between the left and right fringe. 37The extra width is distributed evenly between the left and right fringe.
38For force a specific fringe width, specify the width as a negative 38For force a specific fringe width, specify the width as a negative
39integer (if both widths are negative, only the left fringe gets the 39integer (if both widths are negative, only the left fringe gets the
40specified width). 40specified width).
41 41
42Setting the width to nil (the default), restores the default fringe 42Setting the width to nil (the default), restores the default fringe
43width which is the minimum number of pixels necessary to display any 43width 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
108now uses normal-erase-is-backspace-mode. 108now 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
115the --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.
398This was actually done in Emacs-21.1 was not documented. 405This 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
52the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, 52the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang,
53LaTeX, Emacs Lisp/Common Lisp, makefiles, Pascal, Perl, 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.
56Both forms read the files specified on the command line, and write a tag 56Both forms read the files specified on the command line, and write a tag
@@ -167,6 +167,7 @@ from shell interpretation.
167Tag the DEFVAR macros in the emacs source files: 167Tag 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
172Tag VHDL files (this example is a single long line, broken here for 173Tag 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 @@
12001-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
12001-12-11 Richard M. Stallman <rms@gnu.org> 172001-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
92001-11-30 Andrew Innes <andrewi@gnu.org> 252001-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},
344to tag global variables. 344to tag global variables.
345 345
346@item 346@item
347In PHP code, tags are functions, classes and defines. When using the
348@samp{--members} option, vars are tags too.
349
350@item
347In PostScript code, the tags are the functions. 351In PostScript code, the tags are the functions.
348 352
349@item 353@item
350In Prolog code, a tag name appears at the left margin. 354In Prolog code, tags are predicates and rules at the beginning of
355line.
351 356
352@item 357@item
353In Python code, @code{def} or @code{class} at the beginning of a line 358In 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