RE: [Orgmode] How to view tasks with certain Property tag in Agenda view

2009-04-28 Thread Varnit Suri
Thanks! This worked!

Varnit
 

-Original Message-
From: Matthew Lundin [mailto:matthew.lun...@valpo.edu] 
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 vs...@brocade.com 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


___
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


Re: [Orgmode] How to view tasks with certain Property tag in Agenda view

2009-04-27 Thread Matthew Lundin
Hi Varnit,

Varnit Suri vs...@brocade.com 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


___
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


Re: [Orgmode] How to view tasks with certain Property tag in Agenda view

2009-04-21 Thread Manish
  On Tue, Apr 21, 2009 at 6:11 AM, Varnit Suri wrote:
   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.

Have you seen http://orgmode.org/worg/org-customization-survey.php ?
Check out Matthew Lundin's agenda customizations in particular.  It
the awesomest use of agenda customization that I have ever seen.

-- 
Manish


___
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


RE: [Orgmode] How to view tasks with certain Property tag in Agenda view

2009-04-20 Thread Varnit Suri
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


Re: [Orgmode] How to view tasks with certain Property tag in Agenda view

2009-04-19 Thread Nick Dokos
Varnit Suri vs...@brocade.com wrote:

 ...
 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.
 
 ... 

Does 

 
http://orgmode.org/manual/Matching-tags-and-properties.html#Matching-tags-and-properties

help? In your example, I think you'd say something like this (untested):

C-c a m +CATEGORY=Computer RET

BTW, there are many built-in agenda views - you seem to be doing C-c a a
which gives you the current week/day agenda view. But if you stop
after C-c a, you'll be at the agenda dispatcher, which shows you a list
of agenda views. E.g., the a key in the dispatcher gives you the weekly
agenda view, the m key lets you match tags and properties etc. See


http://orgmode.org/manual/Built_002din-agenda-views.html#Built_002din-agenda-views

for more details. You can even add custom agenda views:

http://orgmode.org/manual/Custom-agenda-views.html#Custom-agenda-views

HTH,
Nick




___
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


Re: [Orgmode] How to view tasks with certain Property tag in Agenda view

2009-04-19 Thread Manish
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