Nevermind. Finally got through the elisp errors :)
(org-add-agenda-custom-command
'("w" "TODO"
((agenda "TODO" ((org-agenda-skip-function
(lambda nil
(org-agenda-skip-entry-if
(quote notregexp) "\\=.*\\:OFFICE\\:")
)
))
) (tags "OFFICE/NEXT"))))
On 2/2/08, Sebastjan Trepca <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to create a custom view that should display agenda for only
> items that are scheduled today and include a specific tag together
> with tasks that has NEXT todo keyword and the same tag.
>
> Currently I have this:
>
> ("h" "Home tasks" ((agenda) (tags "HOME/NEXT")))
>
> The problem is that agenda, it shows all scheduled tasks and not only
> those with HOME tag. I tried with org-agenda-skip-entry-if but I can't
> make it work.
>
> Thanks.
>
> --
> Sebastjan
>
--
Sebastjan
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode