From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Habits default on first STATE when rescheduled Date: Mon, 20 Dec 2010 11:38:58 -0500 Message-ID: <87fwtsh00t.fsf@fastmail.fm> References: <80wrn4fqxe.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=49108 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUilJ-0008PM-8f for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 11:39:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUilH-0000aj-Nf for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 11:39:00 -0500 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:59907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUilH-0000ae-Ji for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 11:38:59 -0500 In-Reply-To: <80wrn4fqxe.fsf@missioncriticalit.com> (=?utf-8?Q?=22S=C3=A9b?= =?utf-8?Q?astien?= Vauban"'s message of "Mon, 20 Dec 2010 15:40:45 +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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: Org Mode S=C3=A9bastien Vauban writes: > Having the following possible states: > > #+begin_src emacs-lisp > (setq org-todo-keywords > '((sequence "NEW(n!)" > "TODO(t!)" > "WAIT(w!)" > "DLGT(l!)" > "|" > "DONE(d!)" > "DFRD(f!)" > "CANX(c!)"))) > #+end_src > > the habits, when DONE, go back to state NEW, instead of TODO. Of course, = there > is no way for Org to know it has to re-begin at the second state (in this > case). > Have you tried the following setting? (setq org-todo-repeat-to-state "TODO") You can also set this locally with the :REPEAT_TO_STATE: property. Best, Matt