[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Filter weekly/daily agenda by tag

From: Simon Thum
Subject: Re: [O] Filter weekly/daily agenda by tag
Date: Sun, 28 Oct 2012 13:57:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120924 Thunderbird/10.0.7

On 10/28/2012 12:58 PM, Alexander Baier wrote:
To explain what i want to achieve regarding this example: I want a
weekly agenda view only displaying Event1, Event2 and Event4 but not
Event3 as it should be excluded by its tag.

Any help is appreciated.
FWIW, my agenda is constructed like this:

("w" "work week agenda" agenda ""
    ((org-agenda-span 'week)
     (org-agenda-start-on-weekday 1) ;; work - begin on monday
(org-agenda-tag-filter-preset '("address@hidden")) ;; no OR (phd | @work) possible here!
     (org-agenda-hide-tags-regexp "@work")
     (org-agenda-compact-blocks t)

Using the tag-filter-preset allows to change the tags inside the agenda view because it filters the view, not the construction of the agenda.

Excluding might work like this:

(org-agenda-tag-filter-preset '("+like" "-dislike"))

but I haven't tested this combination.

I'm also hiding the @work tag as the other tags (if any) are more relevant then.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]