diff options
| author | Francesco Potortì | 2004-09-13 13:42:00 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2004-09-13 13:42:00 +0000 |
| commit | dfcb9727ca2405f03afbfeef4f9882949bc9ae24 (patch) | |
| tree | 50b1fb98c0efe58e88db1e1b17ff5af2070e6d30 | |
| parent | 38ad3429ff9ea09838335e990e7c14d3e8017b34 (diff) | |
| download | emacs-dfcb9727ca2405f03afbfeef4f9882949bc9ae24.tar.gz emacs-dfcb9727ca2405f03afbfeef4f9882949bc9ae24.zip | |
Added support in etags for the Lua script language.
| -rw-r--r-- | etc/NEWS | 24 | ||||
| -rw-r--r-- | man/maintaining.texi | 3 |
2 files changed, 16 insertions, 11 deletions
| @@ -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. |
| 1497 | Previously, only the `template' and `class' keywords had this effect. | 1497 | Previously, only the `template' and `class' keywords had this effect. |
| 1498 | 1498 | ||
| 1499 | **** New language HTML. | ||
| 1500 | Title and h1, h2, h3 are tagged. Also, tags are generated when name= is | ||
| 1501 | used inside an anchor and whenever id= is used. | ||
| 1502 | |||
| 1503 | **** In Makefiles, constants are tagged. | ||
| 1504 | If you want the old behavior instead, thus avoiding to increase the | ||
| 1505 | size 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. |
| 1500 | Subroutine tags are named from their package. You can jump to sub tags | 1510 | Subroutine tags are named from their package. You can jump to sub tags |
| 1501 | as you did before, by the sub name, or additionally by looking for | 1511 | as you did before, by the sub name, or additionally by looking for |
| 1502 | package::sub. | 1512 | package::sub. |
| 1503 | 1513 | ||
| 1514 | **** In Prolog, etags creates tags for rules in addition to predicates. | ||
| 1515 | |||
| 1504 | **** New language PHP. | 1516 | **** New language PHP. |
| 1505 | Tags are functions, classes and defines. | 1517 | Tags are functions, classes and defines. |
| 1506 | If the --members option is specified to etags, tags are vars also. | 1518 | If the --members option is specified to etags, tags are vars also. |
| 1507 | 1519 | ||
| 1508 | **** New language HTML. | ||
| 1509 | Title and h1, h2, h3 are tagged. Also, tags are generated when name= is | ||
| 1510 | used inside an anchor and whenever id= is used. | ||
| 1511 | |||
| 1512 | **** New default keywords for TeX. | 1520 | **** New default keywords for TeX. |
| 1513 | The new keywords are def, newcommand, renewcommand, newenvironment and | 1521 | The new keywords are def, newcommand, renewcommand, newenvironment and |
| 1514 | renewenvironment. | 1522 | renewenvironment. |
| 1515 | 1523 | ||
| 1516 | **** In Makefiles, constants are tagged. | ||
| 1517 | If you want the old behavior instead, thus avoiding to increase the | ||
| 1518 | size 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. |
| 1523 | When Etags parses an input file that contains C preprocessor's #line | 1525 | When Etags parses an input file that contains C preprocessor's #line |
| 1524 | directives, it creates tags using the file name and line number | 1526 | directives, 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. |
| 1530 | This option is mostly useful when calling etags from programs. It can | 1532 | This option is mostly useful when calling etags from programs. It can |
| 1531 | be used (only once) in place of a file name on the command line. Etags | 1533 | be used (only once) in place of a file name on the command line. Etags |
| 1532 | reads from standard input and mark the produced tags as belonging to | 1534 | reads from standard input and marks the produced tags as belonging to |
| 1533 | the file FILE. | 1535 | the 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}, | |||
| 343 | and all occurrences of @code{id=}. | 343 | and all occurrences of @code{id=}. |
| 344 | 344 | ||
| 345 | @item | 345 | @item |
| 346 | In Lua input files, all functions are tags. | ||
| 347 | |||
| 348 | @item | ||
| 346 | In makefiles, targets are tags; additionally, variables are tags | 349 | In makefiles, targets are tags; additionally, variables are tags |
| 347 | unless you specify @samp{--no-globals}. | 350 | unless you specify @samp{--no-globals}. |
| 348 | 351 | ||