emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Understanding habits - repeat interval
@ 2011-01-03 20:05 Tommy Kelly
  2011-01-03 21:53 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Tommy Kelly @ 2011-01-03 20:05 UTC (permalink / raw)
  To: emacs-orgmode

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>

I already tried the following but it gives an error:

 ** TODO Shave
        SCHEDULED: <2009-10-17 Sat .+1d/1d>


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.

thanks,
Tommy

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Understanding habits - repeat interval
  2011-01-03 20:05 Understanding habits - repeat interval Tommy Kelly
@ 2011-01-03 21:53 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2011-01-03 21:53 UTC (permalink / raw)
  To: Tommy Kelly; +Cc: emacs-orgmode

Tommy Kelly <tommy.kelly@verilab.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-03 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-03 20:05 Understanding habits - repeat interval Tommy Kelly
2011-01-03 21:53 ` Bernt Hansen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).