* Nathan Neff <nathan.n...@gmail.com> [2019-08-08 18:50]: > Hello all, > > Has anyone created a Helm source from the results of org-agenda? > > Specifically org-tags-view I think would be a cool Helm source to > configure where the headings that have certain tags could be displayed > by Helm. > > I looked @ the code for org-tags-view and it's fairly straight > forward - however, I think that the function itself is tightly > coupled between finding the results and displaying the results. In > other words, there's no easy function that I see which would provide > headings that match a tags search that I could use as a Helm source.
If tag is 'staff, this below will give structure out: (org-scan-tags 'agenda '(staff lambda (todo tags-list level) (progn (setq org-cached-props nil) (or (and (member staff tags-list))))) org--matcher-tags-todo-only) Now `org-scan-tags` could be inspected if it constructs some lists, alist, that are somewhat nicer than such output. But that output can be converted to HELM completion. Jean