Hi John, 

John Wiegley <jwieg...@gmail.com> 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>>

<<attachment: graph-2.png>>

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to