emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yuri Niyazov <yuri.niyazov@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-log-done vs. State Logbook
Date: Sat, 3 Jan 2015 00:42:32 -0800	[thread overview]
Message-ID: <CACbjG0tpKHsKKMYMZhHxJoO-NoWn7pxJR05Ne740a9yNwRrKGQ@mail.gmail.com> (raw)

Hi everyone,


  So, I am trying to learn org-mode and figure out what's best for me.
One of the things that I would like to see is how long a TODO task
takes to travel through my life, on average from the moment when it is
captured, to scheduled, to done. Does something like this already
exists?

One of the things I learned earlier today from this thread
https://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg00112.html
was that there's nothing that allows you to log state at the moment of
capture, so I created a capture template with a LOGBOOK drawer
included with an initial state change, like this:

"* TODO %?
SCHEDULED: %^t
:LOGBOOK:
- State \"CAPTURED\"   from \"\"           %u
:END:"

Now, one of the things that I am finding hard to figure out is what to
do at the end: there's both the ability to log when the object is done
using org-log-done, and one can also track every state change, which
includes the final state change of being done, with LOGBOOK state
changes. I am leaning towards turning them both on going forward, but
I have a bunch of old tasks, and some of them only have the CLOSED:
[timestamp] entry, and some of them only have the -State "DONE" from
"TODO" line in Logbook, and I don't know whether to invest the time
into fixing up the old entries to mirror the existing ones. The answer
to this depends on whether a package for for displaying statistics to
me already exists, and if it depends on one of those (CLOSED entry vs.
Logbook state changes).

I know about clocktable, but clocktable seems to only be for
Clocking-in and Clocking-out entries, not across the lifetime of a
task.

             reply	other threads:[~2015-01-03  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-03  8:42 Yuri Niyazov [this message]
2015-01-04  4:45 ` org-log-done vs. State Logbook Eric Abrahamsen
2015-01-04  4:57   ` Yuri Niyazov
2015-01-04  5:02     ` Yuri Niyazov
2015-01-04  5:19       ` Eric Abrahamsen

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=CACbjG0tpKHsKKMYMZhHxJoO-NoWn7pxJR05Ne740a9yNwRrKGQ@mail.gmail.com \
    --to=yuri.niyazov@gmail.com \
    --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).