From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: How to get a list of unscheduled TODOs Date: Wed, 4 Feb 2009 11:59:46 +0530 Message-ID: References: <4c4575360902032158u5b96345s3f83c2a63a94e07b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUbGg-0008C6-BZ for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 01:29:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUbGe-0008Bp-Ha for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 01:29:49 -0500 Received: from [199.232.76.173] (port=38942 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUbGe-0008Bk-B5 for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 01:29:48 -0500 Received: from ti-out-0910.google.com ([209.85.142.185]:16346) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUbGd-0003YF-Mt for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 01:29:48 -0500 Received: by ti-out-0910.google.com with SMTP id u5so1108744tia.10 for ; Tue, 03 Feb 2009 22:29:46 -0800 (PST) In-Reply-To: <4c4575360902032158u5b96345s3f83c2a63a94e07b@mail.gmail.com> 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: Saurabh Agrawal Cc: emacs-orgmode Mailinglist On Wed, Feb 4, 2009 at 11:28 AM, Saurabh Agrawal wrote: > Hi group, > > I have got around 4 projects running at a time. As per philosophy of > GTD, sometime I get some TODOs, and without thinking much about them > at the time, I use remember package to just list them as a TODO in > correct Category. At the end of the day, I would like to have a list > of my unscheduled TODOs, of School Category separately. I am using a > custom agenda for this. But using org-agenda-todo-ignore-with-date is > not working in the following form: > > '(org-agenda-custom-commands > (quote (("t" "Today!!!" > ((agenda "" ((org-agenda-ndays 1))) > (tags-todo "CATEGORY=\"School\"" (org-agenda-todo-ignore-with-date 1 )) > (tags-todo "CATEGORY=\"CRS\"" nil) > (tags-todo "CATEGORY=\"Study\"" nil) > (tags-todo "CATEGORY=\"Practice\"" nil) > (tags-todo "CATEGORY=\"Reading\"" nil) > (tags-todo "CATEGORY=\"Other\"" nil)))))) Something like this perhaps. Untested.. but key takeaway is using the org-agenda-skip-function. --8<---------------cut here---------------start------------->8--- (setq org-agenda-custom-commands (quote (("t" "Today!!!" ((agenda "" ((org-agenda-ndays 1))) (tags-todo "CATEGORY=\"School\"" (org-agenda-skip-function '(org-agenda-skip-entry-if 'deadline 'scheduled))) (tags-todo "CATEGORY=\"CRS\"" nil) (tags-todo "CATEGORY=\"Study\"" nil) (tags-todo "CATEGORY=\"Practice\"" nil) (tags-todo "CATEGORY=\"Reading\"" nil) (tags-todo "CATEGORY=\"Other\"" nil)))))) --8<---------------cut here---------------end--------------->8--- HTH -- Manish