From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Repeating TODOs Date: Thu, 25 Mar 2010 07:39:01 -0400 Message-ID: <87zl1wiqay.fsf@gollum.intra.norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NulPZ-0005tX-0q for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 07:39:41 -0400 Received: from [140.186.70.92] (port=58920 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NulPT-0005tA-7v for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 07:39:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NulPG-00076K-MZ for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 07:39:29 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:55094) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NulPG-000758-Kg for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 07:39:22 -0400 In-Reply-To: (Gary .'s message of "Thu\, 25 Mar 2010 09\:40\:07 +0100") 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: "Gary ." Cc: emacs-orgmode@gnu.org "Gary ." writes: > As I mentioned yesterday, I am trying to follow > http://orgmode.org/worg/org-tutorials/tracking-habits.php > > I have the following entry: > > ** TODO Go to the gym :habit: > SCHEDULED: <2010-03-24 Wed .+2d> > > and even managed to successfully go to the gym as planned :) However, > I couldn't update the status until today (the day after I completed > the task), so when I updated the status with C-c C-t it added the > next occurence two days from *today*. It might not always be the way > that I update the status a day after, sometimes it might be the same > day, or two days after, or whatever. Is there a way, short of > manually editing the file, of taking care of that? I know it's > because of the "." in the .+2d but given that sometimes I won't do it > on the planned date, I think it's best to have that in there - or is > there a better solution for when I miss the planned date? I think it works as you want if you just drop the . > SCHEDULED: <2010-03-24 Wed +2d> .+2d is 2 days from today +2d is 2 days later ++2d repeat 2 days later until the date is after today I think all of these formats work with habits. HTH, Bernt