Hi Bastien,

thank you for the explanation.

I've implemented the solution to my problem by using `agenda-skip-entry-if'
instead of `org-agenda-tag-filter-preset'.

Example:
------------------------------------------------------------
(setq org-agenda-custom-commands
      '(("h" "home"
         ((agenda "" ((org-agenda-span 'day)
                      (org-agenda-skip-function '(org-agenda-skip-entry-if
'regexp ":work:"))))
          (alltodo)))))
------------------------------------------------------------

Kind Regards,
Miro



On Fri, Dec 6, 2013 at 3:30 PM, Bastien <b...@gnu.org> wrote:

> Hi Miro,
>
> Miro Bezjak <bezjak.m...@gmail.com> writes:
>
> > It appears that `org-agenda-tag-filter-preset' does not work when I
> > define
> > multiple commands under one. The agenda is rendered as if filter was
> > never set.
> >
> > On the other hand, if I remove `(alltodo)', thus defining only the
> > agenda, then
> > the filter works without problems.
>
> Yes, that's by design -- or more precisely, by lack of a good way to
> filter agenda blocks.
>
> HTH,
>
> --
>  Bastien
>

Reply via email to