[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] struggle with using variable org-agenda-*-filter* properly
From: |
Bastien |
Subject: |
Re: [O] struggle with using variable org-agenda-*-filter* properly |
Date: |
Tue, 29 Apr 2014 13:51:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) |
Hi Brady,
Brady Trainor <address@hidden> writes:
> ;; (org-agenda-regexp-filter-preset '(":STYLE:.+habit"))
> ;; (org-agenda-tag-filter-preset '("+STYLE=\"habit\""))
Filters are applied on the headlines, not on their contents,
because they are applied *after* the agenda is generated.
That's why the first filter above will not work.
Also, "tag" in "org-agenda-tag-filter-preset" means "tag",
not a tag-and/or-property-query. So it should be something
like this
(org-agenda-tag-filter-preset '("mytag"))
to filter a headline containing the tag "mytag".
Hope this clarifies things up,
--
Bastien