File: etags-regen.el.html

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).

Defined variables (8)

etags-regen-file-extensionsCode file extensions for ‘etags-regen-mode’.
etags-regen-ignoresAdditional ignore rules, in the format of ‘project-ignores’.
etags-regen-modeNon-nil if Etags-Regen mode is enabled.
etags-regen-mode-hookHook run after entering or leaving ‘etags-regen-mode’.
etags-regen-programName of the etags program used by ‘etags-regen-mode’.
etags-regen-program-optionsList of additional options for etags program invoked by ‘etags-regen-mode’.
etags-regen-regexp-alistMapping of languages to etags regexps for ‘etags-regen-mode’.
etags-regen-tags-fileName of the tags file to create inside the project by ‘etags-regen-mode’.

Defined functions (12)

etags-regen--all-files(PROJ)
etags-regen--all-mtimes(PROJ)
etags-regen--append-tags(&rest FILE-NAMES)
etags-regen--build-program-options(CTAGS-P)
etags-regen--choose-tags-file(PROJ)
etags-regen--ignore-regexp(IGNORE)
etags-regen--process-file-region(START END PROGRAM &optional OUTPUT-BUFFER ERROR-BUFFER &rest ARGS)
etags-regen--refresh(PROJ)
etags-regen--remove-tag(FILE-NAME)
etags-regen--tags-generate(PROJ)
etags-regen--visit-table(TAGS-FILE ROOT)
etags-regen-mode(&optional ARG)

Defined faces (0)