[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Configure Helm Source from org-tags-view
From: |
Jean Louis |
Subject: |
Re: [O] Configure Helm Source from org-tags-view |
Date: |
Thu, 8 Aug 2019 21:13:13 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
* Nathan Neff <address@hidden> [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
Re: [O] Configure Helm Source from org-tags-view, Adam Porter, 2019/08/09