File: treemacs-tag-follow-mode.el.html

Minor mode to follow the tag at point in the treemacs view on an idle timer Finding the current tag is a fairly involved process:
* Grab current buffer's imenu output
* Flatten the list to create full tag paths
* Sort according to tag position
* Beware of edge cases: org-mode headlines are containers, but also hold a position, hidden as a text property and
  semantic-mode parsed buffers use overlays instead of markers
* Find the last tag whose position begins before point
* Jump to that tag path
* No jump when there's no buffer file, or no imenu, or buffer file is not seen in treemacs etc.

NOTE: This module is lazy-loaded.

Defined variables (5)

treemacs--imenu-cache
treemacs--previously-followed-tag-position
treemacs--tag-follow-timer
treemacs-tag-follow-modeNon-nil if Treemacs-Tag-Follow mode is enabled.
treemacs-tag-follow-mode-hook

Defined functions (16)

treemacs--compare-markdown-tag-paths
treemacs--compare-markdown-tag-paths--inliner
treemacs--compare-tag-paths
treemacs--compare-tag-paths--inliner
treemacs--do-follow-tag
treemacs--find-index-pos
treemacs--flatten&sort-imenu-index[Arg list not available until function definition is loaded.]
treemacs--flatten-imenu-index
treemacs--flatten-org-mode-imenu-index
treemacs--follow-tag-at-point
treemacs--forget-previously-follow-tag-btn
treemacs--reset-imenu-cache
treemacs--reset-imenu-cache--inliner
treemacs--setup-tag-follow-mode
treemacs--tear-down-tag-follow-mode
treemacs-tag-follow-mode(&optional ARG)

Defined faces (0)