[Top][All Lists]

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

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

From: Bastien
Subject: Re: [O] Filter weekly/daily agenda by tag
Date: Sun, 28 Oct 2012 13:53:33 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

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.


reply via email to

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