etags-regen

Homepage: https://www.gnu.org/software/emacs

Author: Dmitry Gutov

Summary

Auto-(re)regenerating tags

Commentary

Simple automatic tags generation with updates on save.

This mode provides automatic indexing for Emacs "go to definition"
feature, the `xref-go-forward' command (bound to `M-.' by default).

At the moment reindexing works off before/after-save-hook, but to
handle more complex changes (for example, the user switching to
another branch from the terminal) we can look into plugging into
something like `filenotify'.

Note that this feature disables itself if the user has some tags
table already visited (with `M-x visit-tags-table', or through an
explicit prompt triggered by some feature that requires tags).

Dependencies