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: Mon, 20 Apr 2009 17:41:45 -0700 Message-ID: <57AC2FA1761300418C7AB8F3EA493C9702D2400D@HQ-EXCH-5.corp.brocade.com> References: <57AC2FA1761300418C7AB8F3EA493C9702D23C27@HQ-EXCH-5.corp.brocade.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lw43e-0001MJ-7e for emacs-orgmode@gnu.org; Mon, 20 Apr 2009 20:41:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lw43Z-0001LV-D5 for emacs-orgmode@gnu.org; Mon, 20 Apr 2009 20:41:53 -0400 Received: from [199.232.76.173] (port=46164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lw43Z-0001LR-9l for emacs-orgmode@gnu.org; Mon, 20 Apr 2009 20:41:49 -0400 Received: from brm-mailgate-2.brocade.com ([144.49.197.3]:46935) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lw43Y-0001J7-R1 for emacs-orgmode@gnu.org; Mon, 20 Apr 2009 20:41:49 -0400 Content-class: urn:content-classes:message In-Reply-To: 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: Manish Cc: emacs-orgmode@gnu.org Thanks. I agree this is prolly a better approach. I did get things to work (see code in post-script) a bit using your = suggestion and: http://orgmode.org/manual/Block-agenda.html#Block-agenda=20 http://orgmode.org/manual/Storing-searches.html#Storing-searches=20 But maybe I wasn't clear enough in describing what I 'm trying to do.=20 I 'd like to parse the weekly Agenda (C-c a a) to show only those items = that meet the specified criteria (eg, certain tags, todo-tags, or = properties). The advantage is that that shows the relevant items, will = complete details of dates, etc. Its sort of running a grep on the weekly = Agenda output. Any ideas are appreciated. V. PS: The two custom searches that I coded up are: (setq org-agenda-custom-commands '(("h" "Agenda for context Home" ((agenda "") (tags "HOME"))))) (setq org-agenda-custom-commands '(("h" "Agenda for context Home" agenda (tags "HOME")))) -----Original Message----- From: Manish [mailto:mailtomanish.sharma@gmail.com]=20 Sent: Sunday, April 19, 2009 9:24 PM To: Varnit Suri Cc: emacs-orgmode@gnu.org Subject: Re: [Orgmode] How to view tasks with certain Property tag in = Agenda view FWIW, I use tags to mark contexts and filtering on tags is really really fast and flexible. --=20 Manish On Mon, Apr 20, 2009 at 6:40 AM, Varnit Suri wrote: > Hi all, > > I am using the PROPERTY keyword to identify contexts (in the GTD > approach). So here's a sample of what I do: > > * Online > =A0:PROPERTIES: > =A0:CATEGORY: Computer > =A0:END: > ** TODO Call/reply to A > ** TODO Defrag work PC > > The Agenda view that I see is below (Home, Computer, Work are PROPERTY > tags). > > What I 'd like to do is: > 1. View tasks with only a specified PROPERTY tag. > 2. View the main task (if this task is a sub-task) in the Agenda view. > > So in the above example, I 'm trying to see something like. > > Computer: Online [current output] > > Any comments are appreciated. Thanks. > > Current output: > > Week-agenda (W16-W17): > Sunday =A0 =A0 19 April 2009 > =A0Home: =A0 =A0 =A0 Sched. 2x: =A0TODO ETrade debit card > =A0Home: =A0 =A0 =A0 In -24 d.: =A0TODO Respond to DMV Ticket > =A0Computer: =A0 =A0 Sched. 2x: =A0TODO Incorporate category tags > =A0Work: =A0 =A0 Scheduled: =A0TODO Defrag work PC > > > > _______________________________________________ > 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 >