Function: hpath:org-normalize-titles

hpath:org-normalize-titles is a byte-compiled function defined in hpath.el.

Signature

(hpath:org-normalize-titles)

Documentation

Get all buffer Org titles in normalized form.

Titles are stripped from priorities, stats and leading ':' or '-' separators.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defun hpath:org-normalize-titles ()
  "Get all buffer Org titles in normalized form.
Titles are stripped from priorities, stats and leading ':' or '-' separators."
  (let (title
        titles)
    (org-with-wide-buffer
     (goto-char (point-min))
     (while (re-search-forward org-heading-regexp nil t)
       (setq title (org-element-property :raw-value (org-element-at-point)))
       (push (hpath:org-normalize-title title) titles)))
    (nreverse titles)))