From mboxrd@z Thu Jan 1 00:00:00 1970 From: Saurabh Agrawal Subject: Re: How to get a list of unscheduled TODOs Date: Wed, 4 Feb 2009 14:08:07 +0530 Message-ID: <4c4575360902040038o534bea91p60ec0a5ea1188b41@mail.gmail.com> 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 1LUdGt-000768-Nw for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 03:38:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUdGs-00075Z-BQ for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 03:38:11 -0500 Received: from [199.232.76.173] (port=38533 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUdGr-00075N-Mz for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 03:38:09 -0500 Received: from mu-out-0910.google.com ([209.85.134.191]:32962) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUdGr-0004Vq-9D for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 03:38:09 -0500 Received: by mu-out-0910.google.com with SMTP id w8so333745mue.6 for ; Wed, 04 Feb 2009 00:38:07 -0800 (PST) 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 Mailinglist Thanks for the reply Manish. But after I modify my .emacs, I get the following error on starting the custom agenda: byte-code: Before first headline at position 1462 in buffer *Org Agenda* Could you please suggest something? I am unable to debug this. Saurabh. *Novice* On Wed, Feb 4, 2009 at 11:59 AM, Manish wrote: > 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 >