aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2002-03-05 11:42:46 +0000
committerFrancesco Potortì2002-03-05 11:42:46 +0000
commitbf8dd4e319ec1751e8626bc9831b68366f9ef58e (patch)
tree175542d54ebf6135f1876ad73bbb3f7ad7f8e49c
parentdb59058201446a651dd28697590ad5fbc25383ea (diff)
downloademacs-bf8dd4e319ec1751e8626bc9831b68366f9ef58e.tar.gz
emacs-bf8dd4e319ec1751e8626bc9831b68366f9ef58e.zip
etags honours #line directives.
-rw-r--r--etc/NEWS7
-rw-r--r--etc/etags.14
-rw-r--r--man/maintaining.texi7
3 files changed, 14 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e07f44d3fe7..6d14bea10a9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -214,7 +214,7 @@ C-h c, C-h k, C-h w, and C-h f now handle remapped interactive commands.
214 that command. 214 that command.
215 215
216For example, if C-k is bound to kill-line, and kill-line is remapped 216For example, if C-k is bound to kill-line, and kill-line is remapped
217to new-kill-line, these commands now report: 217to new-kill-line, these commands now report:
218 218
219- C-h c and C-h k C-k reports: 219- C-h c and C-h k C-k reports:
220 C-k runs the command new-kill-line 220 C-k runs the command new-kill-line
@@ -366,6 +366,11 @@ additionally by looking for package::sub.
366*** New language PHP: tags are functions, classes and defines. If 366*** New language PHP: tags are functions, classes and defines. If
367the --members option is specified to etags, tags are vars also. 367the --members option is specified to etags, tags are vars also.
368 368
369*** Honour #line directives. This is useful when dealing with C code
370created from Yacc sources, or with any file created from Cweb source
371files. When etags tags the generated file, it writes tags pointing to
372the source file.
373
369+++ 374+++
370** The command line option --no-windows has been changed to 375** The command line option --no-windows has been changed to
371--no-window-system. The old one still works, but is deprecated. 376--no-window-system. The old one still works, but is deprecated.
diff --git a/etc/etags.1 b/etc/etags.1
index 9ba7a064fa4..cba6f830232 100644
--- a/etc/etags.1
+++ b/etc/etags.1
@@ -59,7 +59,9 @@ table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for
59Files specified with relative file names will be recorded in the tag 59Files specified with relative file names will be recorded in the tag
60table with file names relative to the directory where the tag table 60table with file names relative to the directory where the tag table
61resides. Files specified with absolute file names will be recorded 61resides. Files specified with absolute file names will be recorded
62with absolute file names. 62with absolute file names. Files generated from a source file\-\-like a C
63file created by a source Yacc file\-\-will be recorded with the name of the
64source file.
63The programs recognize the language used in an input file based on its 65The programs recognize the language used in an input file based on its
64file name and contents. The \fB\-\-language\fP switch can be used to force 66file name and contents. The \fB\-\-language\fP switch can be used to force
65parsing of the file names following the switch according to the given 67parsing of the file names following the switch according to the given
diff --git a/man/maintaining.texi b/man/maintaining.texi
index 36a030901eb..d0e726cbcbf 100644
--- a/man/maintaining.texi
+++ b/man/maintaining.texi
@@ -179,8 +179,11 @@ definition of a function by looking up which of the files it is in.
179conventional name for a tags table file is @file{TAGS}. 179conventional name for a tags table file is @file{TAGS}.
180 180
181 Each entry in the tags table records the name of one tag, the name of the 181 Each entry in the tags table records the name of one tag, the name of the
182file that the tag is defined in (implicitly), and the position in that file 182file that the tag is defined in (implicitly), and the position in that
183of the tag's definition. 183file of the tag's definition. When a file parsed by @code{etags} is
184created from a different source file, like a C file created by
185@code{bison} from a source Yacc file, the tags of the parsed file
186reference the source file.
184 187
185 Just what names from the described files are recorded in the tags table 188 Just what names from the described files are recorded in the tags table
186depends on the programming language of the described file. They 189depends on the programming language of the described file. They