diff options
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | man/maintaining.texi | 13 |
2 files changed, 13 insertions, 4 deletions
| @@ -135,6 +135,10 @@ now uses normal-erase-is-backspace-mode. | |||
| 135 | 135 | ||
| 136 | *** In Prolog, etags creates tags for rules in addition to predicates. | 136 | *** In Prolog, etags creates tags for rules in addition to predicates. |
| 137 | 137 | ||
| 138 | *** In Perl, packages are tags. Subroutine tags are named from their | ||
| 139 | package. You can jump to sub tags as you did before, by the sub name, or | ||
| 140 | additionally by looking for package::sub. | ||
| 141 | |||
| 138 | *** New language PHP: tags are functions, classes and defines. If | 142 | *** New language PHP: tags are functions, classes and defines. If |
| 139 | the --members option is specified to etags, tags are vars also. | 143 | the --members option is specified to etags, tags are vars also. |
| 140 | 144 | ||
diff --git a/man/maintaining.texi b/man/maintaining.texi index 59c2d7cf9db..36a030901eb 100644 --- a/man/maintaining.texi +++ b/man/maintaining.texi | |||
| @@ -332,16 +332,21 @@ In makefiles, targets are tags. | |||
| 332 | 332 | ||
| 333 | @item | 333 | @item |
| 334 | In Objective C code, tags include Objective C definitions for classes, | 334 | In Objective C code, tags include Objective C definitions for classes, |
| 335 | class categories, methods, and protocols. | 335 | class categories, methods, and protocols. Tags for variables and |
| 336 | functions in classes are named @samp{@var{class}::@var{variable}} and | ||
| 337 | @samp{@var{class}::@var{function}}. | ||
| 336 | 338 | ||
| 337 | @item | 339 | @item |
| 338 | In Pascal code, the tags are the functions and procedures defined in | 340 | In Pascal code, the tags are the functions and procedures defined in |
| 339 | the file. | 341 | the file. |
| 340 | 342 | ||
| 341 | @item | 343 | @item |
| 342 | In Perl code, the tags are the procedures defined by the @code{sub}, | 344 | In Perl code, the tags are the packages, subroutines and variables |
| 343 | @code{my} and @code{local} keywords. Use @samp{--globals} if you want | 345 | defined by the @code{package}, @code{sub}, @code{my} and @code{local} |
| 344 | to tag global variables. | 346 | keywords. Use @samp{--globals} if you want to tag global variables. |
| 347 | Tags for subroutines are named @samp{@var{package}::@var{sub}}. The | ||
| 348 | name for subroutines defined in the default package is | ||
| 349 | @samp{main::@var{sub}}. | ||
| 345 | 350 | ||
| 346 | @item | 351 | @item |
| 347 | In PHP code, tags are functions, classes and defines. When using the | 352 | In PHP code, tags are functions, classes and defines. When using the |