From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: How to get a list of unscheduled TODOs Date: Wed, 4 Feb 2009 15:20:55 +0100 Message-ID: <7E1A8D71-7F43-4AEF-8ADE-69A5CDF159B1@uva.nl> References: <4c4575360902032158u5b96345s3f83c2a63a94e07b@mail.gmail.com> <4c4575360902040038o534bea91p60ec0a5ea1188b41@mail.gmail.com> <4c4575360902040323n58dcecd9x73e392f3be255154@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUich-0003Yi-UY for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 09:21:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUicf-0003UI-6W for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 09:21:03 -0500 Received: from [199.232.76.173] (port=49888 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUicf-0003Ts-0Y for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 09:21:01 -0500 Received: from ug-out-1314.google.com ([66.249.92.172]:51357) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUice-0004ye-Ir for emacs-orgmode@gnu.org; Wed, 04 Feb 2009 09:21:00 -0500 Received: by ug-out-1314.google.com with SMTP id b39so125325ugd.17 for ; Wed, 04 Feb 2009 06:20:58 -0800 (PST) In-Reply-To: <4c4575360902040323n58dcecd9x73e392f3be255154@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 Feb 4, 2009, at 12:23 PM, Saurabh Agrawal wrote: > 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" Pretty clever for someone who claims to be new to Emacs :-) `with-date' does not exist, but I have just added `timestamp' and `nottimestamp' conditions. - Carsten > > > 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 >> > > > _______________________________________________ > 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