Hi Varnit,

"Varnit Suri" <vs...@brocade.com> writes:

> So here's my code:
>
> (setq org-agenda-custom-commands
>       '(("h" "Agenda and Home-related tasks"
>        ((agenda "" ((org-agenda-skip-function
> '(org-agenda-skip-entry-if 'regexp ":HOME:"))))))))
>
> The only problem I 'm left to solve is, that this skips entries with the
> tag HOME, rather than including them. I 'm only trying a way to do the
> inverse match (ie skip entries that don't match HOME), but I havent been
> able to nail the syntax.

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
      '(("h" "Agenda and Home-related tasks"
         ((agenda "" ((org-agenda-skip-function
         '(org-agenda-skip-entry-if 'notregexp ":HOME:"))))))))
--8<---------------cut here---------------end--------------->8---

I think this should do it.

Regards,                       
Matt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to