From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Automatic Elapsed Time Stamps?
Date: Sat, 28 Jul 2007 00:44:08 +0200 [thread overview]
Message-ID: <876445wjpj.fsf@bzg.ath.cx> (raw)
In-Reply-To: <D3D0E17D-AD4D-4382-91BA-34009ADF2CDD@gmail.com> (Alan Dove's message of "Fri\, 27 Jul 2007 16\:07\:39 -0400")
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
Alan Dove <alan.dove@gmail.com> 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:
[-- Attachment #2: bzg-org-step-report.el --]
[-- Type: application/emacs-lisp, Size: 1260 bytes --]
[-- Attachment #3: Type: text/plain, Size: 783 bytes --]
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
[-- Attachment #4: Type: text/plain, Size: 149 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2007-07-27 22:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 20:07 Automatic Elapsed Time Stamps? Alan Dove
2007-07-27 20:56 ` Adam Spiers
2007-07-27 22:44 ` Bastien [this message]
2007-07-28 16:58 ` Bastien
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=876445wjpj.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--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).