From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Understanding habits - repeat interval Date: Mon, 03 Jan 2011 16:53:46 -0500 Message-ID: <87ipy5r6vp.fsf@norang.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=57768 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZsLo-0003ol-GV for emacs-orgmode@gnu.org; Mon, 03 Jan 2011 16:54:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZsLm-00065Z-Fm for emacs-orgmode@gnu.org; Mon, 03 Jan 2011 16:54:00 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:49894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZsLm-00062o-Du for emacs-orgmode@gnu.org; Mon, 03 Jan 2011 16:53:58 -0500 In-Reply-To: (Tommy Kelly's message of "Mon, 03 Jan 2011 14:05:07 -0600") 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: Tommy Kelly Cc: emacs-orgmode@gnu.org Tommy Kelly writes: > I'm trying a first use of the habits tracking function but I'm not sure > I understand the way they are set up. I have three questions. Here's the > first. > > Is it possible to set up a daily habit -- that is, one that should be > done at least every day and at most every day (as opposed to the > "shaving" example in the manual where the at-most and at-least numbers > are different). Suppose I want to shave every day. Is this correct: > > ** TODO Shave > SCHEDULED: <2009-10-17 Sat .+1d> This should work. > > I already tried the following but it gives an error: > > ** TODO Shave > SCHEDULED: <2009-10-17 Sat .+1d/1d> Recent versions of org-mode flag this as an error. So I just use the first example you have for things that repeat daily (as habits) ,---- | if: Habit Shave deadline repeat period is less than or equal to scheduled (.+1d/1d) `---- I'm not sure why equal is considered an error in this case. It breaks agenda display completely for me until I edit the offending habit entry. > > The first seems to work but it's giving me a confusing bar chart (more > on that later), so I wanted to ask in case the repeater is wrong. Any repeater should be valid. (.+1d, ++1d, +1d) Regards, Bernt