Up: neeanotes📜
Last edit: <2021-02-03>

org habit syntax reference

A habit has the following properties:

\* TODO something
\SCHEDULED: <2020-10-27 Tue ++1w>

Text from the manual:

  1. The habit is a TODO item, with a TODO keyword representing an open state.
  2. The property ‘STYLE’ is set to the value ‘habit’ (see Properties and Columns).
  3. The TODO has a scheduled date, usually with a ‘.+’ style repeat interval. A ‘++’ style may be appropriate for habits with time constraints, e.g., must be done on weekends, or a ‘+’ style for an unusual habit that can have a backlog, e.g., weekly reports.
  4. The TODO may also have minimum and maximum ranges specified by using the syntax ‘.+2d/3d’, which says that you want to do the task at least every three days, but at most every two days.
  5. State logging for the DONE state is enabled (see Tracking TODO state changes), in order for historical data to be represented in the consistency graph. If it is not enabled it is not an error, but the consistency graphs are largely meaningless.

NB: number 2 is what separates a HABIT from a repeating scheduled headline. I think there are some org-agenda implications for “consistency feedback” if you use that.