[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Automatic Elapsed Time Stamps?
From: |
Bastien |
Subject: |
Re: [Orgmode] Automatic Elapsed Time Stamps? |
Date: |
Sat, 28 Jul 2007 00:44:08 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
Alan Dove <address@hidden> writes:
> In my work, I often take notes at a meeting while simultaneously
> taping it.
Same here. In addition to what Adam sent, i see two solutions:
1. Use org-clock-in, org-clock-out and org-clock-report.
Put the time report (C-c C-x C-r) at the beginning of the first level
of your writing, then clock (out and) in each time you insert a new
sublevel. Make sure clock-out is not a member of `org-log-done' so
that you won't be prompted for a log entry each time you clock out.
2. Use an `Elapsed_time' property. Here is a quick hack that could help:
bzg-org-step-report.el
Description: application/emacs-lisp
What it does:
`bzg-step-time-report-initialize' will prompt for the name of the
project. This headline have a property called "Elapsed_time". It's
computed when you switch to the column view (C-c C-x C-x) or when you
press C-c C-c in front of it.
`bzg-step-time-report-add-step' will update the `Elapsed_time' value
of the previous headline and insert a new one.
`bzg-step-time-report-finish' will just update the `Elapsed_time'
value of the previous headline.
Of course, this could be refined... but I hope it might help!
Regards,
PS: You might also have a look at the `run-at-time' function, but either
you need to get the time intervals between steps, or you need to know on
what frequency they are inserted, right? See (info "(elisp)Timers")
--
Bastien