From: "Giorgos Keramidas" <keramida@ceid.upatras.gr>
To: emacs-orgmode@gnu.org
Subject: Listing clock time in 'timeline' order
Date: Mon, 08 Apr 2013 09:25:16 +0200 [thread overview]
Message-ID: <871ualmqlf.fsf@kobe.laptop> (raw)
Hi everyone,
I've just started experimenting with clock-in / clock-out for multiple
tasks in an org-mode buffer, and this looks awesome for tracking where
time is spent, how much time was spent on each task, etc.
Being able to report with 'clocktable' the cummulative time spent on
each task is brilliant.
I also used the agenda 'timeline' in the past, especially with tasks
marked as TODO / NEXT.
Now it occured to me that using clock-in/out would be a nice way to
produce timesheet reports, e.g. something that would be able to take two
tasks with multiple clock entries like this:
* TODO Reading book 'Prescription for Chaos' :book:scifi:personal:
CLOCK: [2013-04-07 Sun 17:10]--[2013-04-07 Sun 17:53] => 0:43
CLOCK: [2013-04-07 Sun 15:55]--[2013-04-07 Sun 16:08] => 0:13
CLOCK: [2013-04-07 Sun 13:58]--[2013-04-07 Sun 14:52] => 0:54
* Reading email :personal:email:
# freebsd-hackers
CLOCK: [2013-04-07 Sun 23:29]--[2013-04-07 Sun 23:30] => 0:00
# emacs-devel
CLOCK: [2013-04-07 Sun 23:27]--[2013-04-07 Sun 23:28] => 0:01
# mercurial-main
CLOCK: [2013-04-07 Sun 23:26]--[2013-04-07 Sun 23:27] => 0:01
# freebsd-current
CLOCK: [2013-04-07 Sun 23:17]--[2013-04-07 Sun 23:26] => 0:09
# freebsd-developers -- deleting old 2010-2012 emails and catching up
# with unread mail queue.
CLOCK: [2013-04-07 Sun 23:02]--[2013-04-07 Sun 23:16] => 0:14
# freebsd-announce
CLOCK: [2013-04-07 Sun 23:01]--[2013-04-07 Sun 23:02] => 0:01
# freebsd-developers
CLOCK: [2013-04-07 Sun 14:08]--[2013-04-07 Sun 14:32] => 0:24
# freebsd-questions
CLOCK: [2013-04-07 Sun 14:06]--[2013-04-07 Sun 14:08] => 0:02
# emacs-devel
CLOCK: [2013-04-07 Sun 14:04]--[2013-04-07 Sun 14:06] => 0:02
and then produce something like clocktable, but with the clock entries
sorted by time instead of added together for each task:
#+BEGIN: clocksheet :scope file :tgs "+personal"
Clock timesheet at [2013-04-07 Sun 23:30]
| Start | Stop | Time | Headline |
|----------------------+----------------------+------+---------------------------------------|
| 2013-04-07 Sun 13:58 | 2013-04-07 Sun 14:52 | 0:54 | Reading book 'Prescription for Chaos' |
| 2013-04-07 Sun 14:04 | 2013-04-07 Sun 14:06 | 0:02 | Reading email |
| 2013-04-07 Sun 14:06 | 2013-04-07 Sun 14:08 | 0:02 | Reading email |
| 2013-04-07 Sun 14:08 | 2013-04-07 Sun 14:32 | 0:24 | Reading email |
| 2013-04-07 Sun 15:55 | 2013-04-07 Sun 16:08 | 0:13 | Reading book 'Prescription for Chaos' |
| 2013-04-07 Sun 17:10 | 2013-04-07 Sun 17:53 | 0:43 | Reading book 'Prescription for Chaos' |
| 2013-04-07 Sun 23:01 | 2013-04-07 Sun 23:02 | 0:01 | Reading email |
| 2013-04-07 Sun 23:02 | 2013-04-07 Sun 23:16 | 0:14 | Reading email |
| 2013-04-07 Sun 23:17 | 2013-04-07 Sun 23:26 | 0:09 | Reading email |
| 2013-04-07 Sun 23:26 | 2013-04-07 Sun 23:27 | 0:01 | Reading email |
| 2013-04-07 Sun 23:27 | 2013-04-07 Sun 23:28 | 0:01 | Reading email |
| 2013-04-07 Sun 23:29 | 2013-04-07 Sun 23:30 | 0:01 | Reading email |
|----------------------+----------------------+------+---------------------------------------|
| Total time | | | |
#+END:
This would make org-mode an excellent tool e.g. for reporting time sheet
information for projects, even for billing time spent on a project.
Do you think such a feature is possible org-mode? Does it already exist
in some form? If not, I'm definitely willing to help implementing it.
- Giorgos
next reply other threads:[~2013-04-08 7:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 7:25 Giorgos Keramidas [this message]
2013-04-09 11:56 ` Listing clock time in 'timeline' order Bastien
2013-04-09 14:14 ` Giorgos Keramidas
2013-04-09 14:16 ` 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=871ualmqlf.fsf@kobe.laptop \
--to=keramida@ceid.upatras.gr \
--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).