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 http://orgmode.org/manual/Storing-searches.html#Storing-searches
But maybe I wasn't clear enough in describing what I 'm trying to do. 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.sha...@gmail.com] 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. -- Manish On Mon, Apr 20, 2009 at 6:40 AM, Varnit Suri <vs...@brocade.com> 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 > :PROPERTIES: > :CATEGORY: Computer > :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 19 April 2009 > Home: Sched. 2x: TODO ETrade debit card > Home: In -24 d.: TODO Respond to DMV Ticket > Computer: Sched. 2x: TODO Incorporate category tags > Work: Scheduled: TODO 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 > _______________________________________________ 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