aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2004-09-13 13:42:00 +0000
committerFrancesco Potortì2004-09-13 13:42:00 +0000
commitdfcb9727ca2405f03afbfeef4f9882949bc9ae24 (patch)
tree50b1fb98c0efe58e88db1e1b17ff5af2070e6d30
parent38ad3429ff9ea09838335e990e7c14d3e8017b34 (diff)
downloademacs-dfcb9727ca2405f03afbfeef4f9882949bc9ae24.tar.gz
emacs-dfcb9727ca2405f03afbfeef4f9882949bc9ae24.zip
Added support in etags for the Lua script language.
-rw-r--r--etc/NEWS24
-rw-r--r--man/maintaining.texi3
2 files changed, 16 insertions, 11 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 536cb36afb1..632d5b4116b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1496,29 +1496,31 @@ per line. Lines beginning with space or tab are ignored.
1496**** The `::' qualifier triggers C++ parsing in C file. 1496**** The `::' qualifier triggers C++ parsing in C file.
1497Previously, only the `template' and `class' keywords had this effect. 1497Previously, only the `template' and `class' keywords had this effect.
1498 1498
1499**** New language HTML.
1500Title and h1, h2, h3 are tagged. Also, tags are generated when name= is
1501used inside an anchor and whenever id= is used.
1502
1503**** In Makefiles, constants are tagged.
1504If you want the old behavior instead, thus avoiding to increase the
1505size of the tags file, use the --no-globals option.
1506
1507**** In Lua, all functions are tagged.
1508
1499**** In Perl, packages are tags. 1509**** In Perl, packages are tags.
1500Subroutine tags are named from their package. You can jump to sub tags 1510Subroutine tags are named from their package. You can jump to sub tags
1501as you did before, by the sub name, or additionally by looking for 1511as you did before, by the sub name, or additionally by looking for
1502package::sub. 1512package::sub.
1503 1513
1514**** In Prolog, etags creates tags for rules in addition to predicates.
1515
1504**** New language PHP. 1516**** New language PHP.
1505Tags are functions, classes and defines. 1517Tags are functions, classes and defines.
1506If the --members option is specified to etags, tags are vars also. 1518If the --members option is specified to etags, tags are vars also.
1507 1519
1508**** New language HTML.
1509Title and h1, h2, h3 are tagged. Also, tags are generated when name= is
1510used inside an anchor and whenever id= is used.
1511
1512**** New default keywords for TeX. 1520**** New default keywords for TeX.
1513The new keywords are def, newcommand, renewcommand, newenvironment and 1521The new keywords are def, newcommand, renewcommand, newenvironment and
1514renewenvironment. 1522renewenvironment.
1515 1523
1516**** In Makefiles, constants are tagged.
1517If you want the old behavior instead, thus avoiding to increase the
1518size of the tags file, use the --no-globals option.
1519
1520**** In Prolog, etags creates tags for rules in addition to predicates.
1521
1522*** Honour #line directives. 1524*** Honour #line directives.
1523When Etags parses an input file that contains C preprocessor's #line 1525When Etags parses an input file that contains C preprocessor's #line
1524directives, it creates tags using the file name and line number 1526directives, it creates tags using the file name and line number
@@ -1529,7 +1531,7 @@ writes tags pointing to the source file.
1529*** New option --parse-stdin=FILE. 1531*** New option --parse-stdin=FILE.
1530This option is mostly useful when calling etags from programs. It can 1532This option is mostly useful when calling etags from programs. It can
1531be used (only once) in place of a file name on the command line. Etags 1533be used (only once) in place of a file name on the command line. Etags
1532reads from standard input and mark the produced tags as belonging to 1534reads from standard input and marks the produced tags as belonging to
1533the file FILE. 1535the file FILE.
1534 1536
1535+++ 1537+++
diff --git a/man/maintaining.texi b/man/maintaining.texi
index b5f13d5fb9f..1a8edf13188 100644
--- a/man/maintaining.texi
+++ b/man/maintaining.texi
@@ -343,6 +343,9 @@ In HTML input files, the tags are the @code{title} and the @code{h1},
343and all occurrences of @code{id=}. 343and all occurrences of @code{id=}.
344 344
345@item 345@item
346In Lua input files, all functions are tags.
347
348@item
346In makefiles, targets are tags; additionally, variables are tags 349In makefiles, targets are tags; additionally, variables are tags
347unless you specify @samp{--no-globals}. 350unless you specify @samp{--no-globals}.
348 351