From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: How to view tasks with certain Property tag in Agenda view Date: Tue, 28 Apr 2009 00:25:24 -0500 Message-ID: <878wlltkmz.fsf@fastmail.fm> References: <57AC2FA1761300418C7AB8F3EA493C9702D2400D@HQ-EXCH-5.corp.brocade.com> <57AC2FA1761300418C7AB8F3EA493C9702E31550@HQ-EXCH-5.corp.brocade.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lyfoz-00062B-FF for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 01:25:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lyfou-00061z-Q4 for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 01:25:32 -0400 Received: from [199.232.76.173] (port=54495 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lyfou-00061w-HM for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 01:25:28 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:35732) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lyfou-0007vM-9T for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 01:25:28 -0400 In-Reply-To: <57AC2FA1761300418C7AB8F3EA493C9702E31550@HQ-EXCH-5.corp.brocade.com> (Varnit Suri's message of "Mon, 27 Apr 2009 17:33:03 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Varnit Suri Cc: emacs-orgmode@gnu.org Hi Varnit, "Varnit Suri" 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