emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Varnit Suri" <vsuri@Brocade.COM>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: RE: How to view tasks with certain Property tag in Agenda view
Date: Mon, 20 Apr 2009 17:41:45 -0700	[thread overview]
Message-ID: <57AC2FA1761300418C7AB8F3EA493C9702D2400D@HQ-EXCH-5.corp.brocade.com> (raw)
In-Reply-To: <e7cdbe30904192123r71f0b2eej7d4a13488c3f7031@mail.gmail.com>

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.sharma@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 <vsuri@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
>

  reply	other threads:[~2009-04-21  0:41 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 [this message]
2009-04-21  7:12     ` Manish
2009-04-28  0:33       ` Varnit Suri
2009-04-28  5:25         ` Matthew Lundin
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=57AC2FA1761300418C7AB8F3EA493C9702D2400D@HQ-EXCH-5.corp.brocade.com \
    --to=vsuri@brocade.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.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).