The little Org-mode header searching functions that I wrote about in Finding Org Headers And Links turned out to be pretty useful so I added another one. This function is like find-all-org-headers
except that it limits the search to those headers that contain a search term.
(defun find-an-org-header (term) (interactive "sSearch Term: ") (find-org-markers (concat "^\\*+ .*" term)))
The find-org-markers
function is described in the Finding Org Headers And Links post. As before, it’s a very simple function but makes it easy to find the header you’re looking for, especially if the trees are collapsed.