tags-tree - Perl Development Environment
Description: Perl Development Environment

Next: perltidy, Previous: imenu-tree, Up: Top

## 20 Tree view of TAGS

`tags-tree.el` read TAGS file and display them using tree-widget.

— User Option: tags-tree-create-buffer-function

> A function to group tags-tree to various buffer. Default is nil, means using only one buffer.

— User Option: tags-tree-group-file-function

> A function to group files. Accept one parameter, a file list in TAGS file. Return a tree like:

>             ("Root name"
>              ("Group1"
>               ("file1" . "full name of file1"))
>              ("Group2"
>               ("subgroup"
>                ("file2" . "full name of file2"))))

> Default is tags-tree-group-file-by-name, Which group all files according to file path.

— User Option: tags-tree-group-tags-function

> A function to group tags. Accept one parameter, a list of tags info, return a tree like:

>            ((("group1")
>              (("subgroup1")
>               ("tag1" . tag-info))
>              ("tag2" . tag-info))
>             (("group2")
>              ("tag3" . tag-info)))

> Default is tags-tree-group-tags which group by `tags-tree-group-tags-expression` which much like `imenu-generic-expression`.

The TAGS file can be update by extern file when in tags-tree.

`G`
  `tags-tree-update-file` - update TAGS of current file under point or file of tag under point.

— User Option: tags-tree-tags-update-program

> Program to update TAGS for a file. Default is `myetags` which is written using perl.