emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Added support for "habit tracking"


From: Matt Lundin
Subject: [Orgmode] Re: Added support for "habit tracking"
Date: Wed, 21 Oct 2009 14:36:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin)

Hi John, 

John Wiegley <address@hidden> writes:

> Ok, the following changes today have been submitted for inclusion:
>
>  - "Habit" appears in mode-line when Habits are being displayed
>
>  - Habits no longer use a DEADLINE, but .+1d/3d, to indicate a range.
>    Use .+1d if the min and max are the same.

Thanks again for the excellent addition to org-mode. I have a couple of
questions about the graph output.

Let's say I have a habit that I would like to do every day, e.g.,

,----
| * TODO Shave
|   SCHEDULED: <2009-10-21 Wed .+1d>
|   :LOGBOOK:
|   - State "DONE"       from "TODO"       [2009-10-19 Mon 14:06]
|   - State "DONE"       from "TODO"       [2009-10-18 Sun 14:06]
|   - State "DONE"       from "TODO"       [2009-10-17 Sat 14:06]
|   - State "DONE"       from "TODO"       [2009-10-15 Thu 14:06]
|   - State "DONE"       from "TODO"       [2009-10-11 Sun 14:06]
|   :END:
|   :PROPERTIES:
|   :STYLE:    habit
|   :END:
`----

As you can see from the above example, I missed few days (10-12, 10-13,
etc.).

In the consistency graph, the first day the task was skipped (10-12)
appears in green (org-habit-ready-face) on the graph. The second day
(10-13), when the task was overdue, appears in yellow
(org-habit-alert-face). If I am reading the manual correctly, I would
expect this second day to be red, since the task is overdue on the day.
(See the attachment "graph-1.png").

I believe I've found another issue with the graphs. If a task is
completed twice on the same day, it prevents all subsequent days from
appearing on the consistency graph.

Here's the example:

,----
| * TODO Shave
|   SCHEDULED: <2009-10-21 Wed .+1d>
|   :LOGBOOK:
|   - State "DONE"       from "TODO"       [2009-10-19 Mon 14:06]
|   - State "DONE"       from "TODO"       [2009-10-17 Sat 14:06]
|   - State "DONE"       from "TODO"       [2009-10-15 Thu 14:06]
|   - State "DONE"       from "TODO"       [2009-10-11 Sun 14:06]
|   - State "DONE"       from "TODO"       [2009-10-10 Sat 14:06]
|   - State "DONE"       from "TODO"       [2009-10-10 Sat 12:00]
|   :END:
|   :PROPERTIES:
|   :STYLE:    habit
|   :LAST_REPEAT: [2009-10-21 Wed 14:06]
|   :END:
`----

See the second attached screenshot (graph-2.png) for the output.

Thanks,
Matt

Attachment: graph-1.png
Description: PNG image

Attachment: graph-2.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]