emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Alexander Baier
Subject: Re: [O] Filter weekly/daily agenda by tag
Date: Sun, 28 Oct 2012 16:28:50 +0100

2012/10/28 Bastien <address@hidden>:
> Hi Alexander,
>
> Alexander Baier <address@hidden> writes:
>
>> (setq org-agenda-custom-commands
>>   '(("d" "Test Tag Filter"
>>      ((agenda ""
>>               ((org-agenda-files '("~/org/WeeklyFilterTest.org"))
>>                (org-agenda-filter "-EXCL")))))))
>
> You need to locally bind `org-agenda-tag-filter-preset' to a list of
> tags like '("-EXCL").
>
> I did not test, but this should be okay:
>
> (setq org-agenda-custom-commands
>   '(("d" "Test Tag Filter"
>      ((agenda ""
>               ((org-agenda-files '("~/org/WeeklyFilterTest.org"))
>                (org-agenda-tag-filter-preset '("-EXCL"))))))))
>
> PS: You're right that org-agenda-filter does not exist.
>
> --
>  Bastien

This works as wanted it to, thank you!
Another question: Do you know if there is any documentation on the
settings i can pass to the commands in org-agenda-custom-commands?

Regards
Alexander



reply via email to

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