Function: hsys-org-get-agenda-tags

hsys-org-get-agenda-tags is an interactive and byte-compiled function defined in hsys-org.el.

Signature

(hsys-org-get-agenda-tags AGENDA-TAGS-VIEW-FUNCTION)

Documentation

When on an Org tag, call AGENDA-TAGS-VIEW-FUNCTION to find matches.

If on a colon, match to sections with all tags around point; otherwise, just match to the single tag around point.

The function determines the org files searched for matches and is given two arguments when called: a null value to tell it to match to all headlines, not just todos and an Org tags match selector string, e.g. ":tag1:tag2:tag3:". Headlines that contain or inherit all of these tags will be displayed, regardless of tag order.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsys-org.el
(defun hsys-org-get-agenda-tags (agenda-tags-view-function)
  "When on an Org tag, call AGENDA-TAGS-VIEW-FUNCTION to find matches.
If on a colon, match to sections with all tags around point;
otherwise, just match to the single tag around point.

The function determines the org files searched for matches and is
given two arguments when called: a null value to tell it to match to
all headlines, not just todos and an Org tags match selector string,
e.g. \":tag1:tag2:tag3:\".  Headlines that contain or inherit all of
these tags will be displayed, regardless of tag order."
  (interactive)
  (when (hsys-org-at-tags-p)
    (funcall agenda-tags-view-function nil (hsys-org--agenda-tags-string))))