emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrew Francis Swann <swann@math.au.dk>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: habits and todo state changes
Date: Fri, 19 Dec 2014 15:00:20 +0000	[thread overview]
Message-ID: <D0B9FC12.D7EB%swann@math.au.dk> (raw)

Having recently set-up an org habit for the first time, I have some
feedback on the manual page `Tracking your habits'. Point 6 currently
states

  6. You must also have state logging for the `DONE' state enabled
  (*note 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 will be
  largely meaningless.


which I found a little too vague.

I had  org-log-done  set to 'note.  This was not sufficient to get correct
habit consistency graphs.  Changing it to 'time was, but I quickly got fed
up with not being prompted for notes on closing other types of task.  I
therefore reverted to 'note, but added the property

   :LOGGING: DONE(!)

to the habit task.  This now works smoothly as I wished.

Based on this I suggest adding the above LOGGING line to the PROPERTIES in
the example included in the manual so it reads:

        :PROPERTIES:
        :STYLE:    habit
        :LOGGING: DONE(!)
        :LAST_REPEAT: [2009-10-19 Mon 00:36]
        :END:

This should make it easier for other users to set up this feature.


Andrew

-- 
Andrew Swann | Associate Professor | Tel +45 871 55767 | swann@math.au.dk
| http://home.math.au.dk/swann/ | Department of Mathematics, Aarhus
University, Ny Munkegade 118, Bldg 1530, DK-8000 Aarhus C, Denmark | Dept
+45 871 50000 | Fax +45 8613 1769




             reply	other threads:[~2014-12-19 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-19 15:00 Andrew Francis Swann [this message]
2014-12-19 19:58 ` habits and todo state changes Rasmus

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=D0B9FC12.D7EB%swann@math.au.dk \
    --to=swann@math.au.dk \
    --cc=emacs-orgmode@gnu.org \
    /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).