From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Varnit Suri" Subject: RE: How to view tasks with certain Property tag in Agenda view Date: Tue, 28 Apr 2009 19:31:15 -0700 Message-ID: <57AC2FA1761300418C7AB8F3EA493C9702E31A09@HQ-EXCH-5.corp.brocade.com> References: <57AC2FA1761300418C7AB8F3EA493C9702D2400D@HQ-EXCH-5.corp.brocade.com><57AC2FA1761300418C7AB8F3EA493C9702E31550@HQ-EXCH-5.corp.brocade.com> <878wlltkmz.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lyza3-0002WG-G9 for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 22:31:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyzZz-0002Vk-UB for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 22:31:27 -0400 Received: from [199.232.76.173] (port=54768 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyzZz-0002Vh-OB for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 22:31:23 -0400 Received: from brm-mailgate-2.brocade.com ([144.49.197.3]:11094) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LyzZz-0004EP-E2 for emacs-orgmode@gnu.org; Tue, 28 Apr 2009 22:31:23 -0400 Content-class: urn:content-classes:message In-Reply-To: <878wlltkmz.fsf@fastmail.fm> 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: Matthew Lundin Cc: emacs-orgmode@gnu.org Thanks! This worked! Varnit =20 -----Original Message----- From: Matthew Lundin [mailto:Matthew.Lundin@valpo.edu]=20 Sent: Monday, April 27, 2009 10:25 PM To: Varnit Suri Cc: Manish; emacs-orgmode@gnu.org Subject: Re: [Orgmode] How to view tasks with certain Property tag in Agenda view 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, =20 Matt