From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Habits default on first STATE when rescheduled Date: Mon, 20 Dec 2010 11:20:48 -0500 Message-ID: <87ei9cct5r.fsf@norang.ca> 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=35461 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUiTy-0002Ds-26 for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 11:21:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUiTw-0004uC-Gp for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 11:21:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:60299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUiTv-0004tl-Ey for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 11:21:04 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1PUiTr-0000pI-Of for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 17:20:59 +0100 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: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org 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). > > Maybe it'd be good to add an index for habit cycles, or so? > > The other alternative is to put NEW after TODO, but this is quite meaning= less, > for all the other non-habit tasks that would be first TODO, then NEW, the= n... > when cycling with S-arrow. Hi Seb, You can add a property to your habits :REPEAT_TO_STATE: TODO which forces this state for repeating tasks when the item is marked DONE HTH, Bernt