From: Matt Lundin <mdl@imapmail.org>
To: John Wiegley <jwiegley@gmail.com>
Cc: Org-mode Mode <emacs-orgmode@gnu.org>
Subject: Re: Added support for "habit tracking"
Date: Wed, 21 Oct 2009 14:36:32 -0400 [thread overview]
Message-ID: <m2aazkbnm7.fsf@fastmail.fm> (raw)
In-Reply-To: <834CBDCA-5FC2-4A77-B47F-44F1DC5438DA@gmail.com> (John Wiegley's message of "Tue, 20 Oct 2009 15:36:46 -0400")
[-- Attachment #1: Type: text/plain, Size: 2252 bytes --]
Hi John,
John Wiegley <jwiegley@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 #2: graph-1.png --]
[-- Type: image/png, Size: 15256 bytes --]
[-- Attachment #3: graph-2.png --]
[-- Type: image/png, Size: 14678 bytes --]
[-- Attachment #4: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2009-10-21 18:36 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 8:26 Added support for "habit tracking" John Wiegley
2009-10-19 8:28 ` John Wiegley
2009-10-20 14:02 ` Matt Lundin
2009-10-20 15:29 ` Carsten Dominik
2009-10-20 15:56 ` Matthew Lundin
2009-10-20 16:55 ` John Wiegley
2009-10-20 17:13 ` Marcelo de Moraes Serpa
2009-10-20 17:19 ` John Wiegley
2009-10-20 18:20 ` Marcelo de Moraes Serpa
2009-10-20 16:48 ` John Wiegley
2009-10-20 17:11 ` Matthew Lundin
2009-10-20 18:30 ` Samuel Wales
2009-10-20 18:38 ` Marcelo de Moraes Serpa
2009-10-20 18:48 ` John Wiegley
2009-10-20 18:48 ` John Wiegley
2009-10-20 18:52 ` Sven Bretfeld
2009-10-20 18:56 ` Sven Bretfeld
2009-10-20 19:06 ` Carsten Dominik
2009-10-20 19:36 ` John Wiegley
2009-10-20 21:22 ` Marcelo de Moraes Serpa
2009-10-21 6:36 ` Carsten Dominik
2009-10-21 18:36 ` Matt Lundin [this message]
2009-10-21 22:40 ` John Wiegley
2009-10-23 6:10 ` Marcelo de Moraes Serpa
2009-10-23 10:34 ` John Wiegley
2009-10-23 15:24 ` Marcelo de Moraes Serpa
2009-10-24 1:20 ` John Wiegley
2009-10-24 12:55 ` Matthew Lundin
2009-10-24 14:36 ` Matthew Lundin
2009-10-25 12:26 ` Paul Mead
2009-10-25 12:37 ` Carsten Dominik
2009-10-25 12:50 ` Paul Mead
2009-10-25 12:38 ` Paul Mead
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2aazkbnm7.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=jwiegley@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).