emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <Matthew.Lundin@valpo.edu>
To: Varnit Suri <vsuri@Brocade.COM>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to view tasks with certain Property tag in Agenda view
Date: Tue, 28 Apr 2009 00:25:24 -0500	[thread overview]
Message-ID: <878wlltkmz.fsf@fastmail.fm> (raw)
In-Reply-To: <57AC2FA1761300418C7AB8F3EA493C9702E31550@HQ-EXCH-5.corp.brocade.com> (Varnit Suri's message of "Mon, 27 Apr 2009 17:33:03 -0700")

Hi Varnit,

"Varnit Suri" <vsuri@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

  reply	other threads:[~2009-04-28  5:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-20  1:10 How to view tasks with certain Property tag in Agenda view Varnit Suri
2009-04-20  3:07 ` Nick Dokos
2009-04-20  4:23 ` Manish
2009-04-21  0:41   ` Varnit Suri
2009-04-21  7:12     ` Manish
2009-04-28  0:33       ` Varnit Suri
2009-04-28  5:25         ` Matthew Lundin [this message]
2009-04-29  2:31           ` Varnit Suri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wlltkmz.fsf@fastmail.fm \
    --to=matthew.lundin@valpo.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=vsuri@Brocade.COM \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).