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 16:53:57 +0530 Message-ID: <4c4575360902040323n58dcecd9x73e392f3be255154@mail.gmail.com> References: <4c4575360902032158u5b96345s3f83c2a63a94e07b@mail.gmail.com> <4c4575360902040038o534bea91p60ec0a5ea1188b41@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 1LUfrN-0002ee-48 for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 06:24:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUfrL-0002e0-6e for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 06:24:00 -0500 Received: from [199.232.76.173] (port=59832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUfrL-0002dv-4Q for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 06:23:59 -0500 Received: from mu-out-0910.google.com ([209.85.134.188]:65032) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUfrK-000225-KL for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 06:23:58 -0500 Received: by mu-out-0910.google.com with SMTP id w8so395522mue.6 for ; Wed, 04 Feb 2009 03:23:57 -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 Manish, now it works... like a charm.. :) Another problem though.. Sometimes, the TODOs haven't been "scheduled" but have a timestamp on them. I would like to ignore them too.. However, using option "with-date" along with "deadline" and "schedule" does not seem to work in org-agenda-skip-entry. Is this option not valid? So, I have used a bad hack as: org-agenda-skip-entry-if 'regexp "<2" As any entry with timestamp anywhere will have <2009- and so on. This is working well as per my needs, though. Regards, Saurabh. On Wed, Feb 4, 2009 at 2:48 PM, Manish wrote: > On Wed, Feb 4, 2009 at 2:08 PM, Saurabh Agrawal wrote: > [snip] >> >> Could you please suggest something? I am unable to debug this. > > Is this better? > > --8<---------------cut here---------------start------------->8--- > (setq org-agenda-custom-commands > (quote (("t" "Today!!!" > ((agenda "" ((org-agenda-ndays 1))) > (tags "CATEGORY=\"School\"" > ((org-agenda-skip-function > '(org-agenda-skip-entry-if 'deadline 'scheduled)))) > (tags "CATEGORY=\"CRS\"" nil) > (tags "CATEGORY=\"Study\"" nil) > (tags "CATEGORY=\"Practice\"" nil) > (tags "CATEGORY=\"Reading\"" nil) > (tags "CATEGORY=\"Other\"" nil)))))) > --8<---------------cut here---------------end--------------->8--- > >> >> Saurabh. *Novice* > > Ditto. > > Perhaps you might want to read this excellent tutorial: > http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php > > HTH > -- > Manish >