emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Clocking work time with a date not a time only


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Clocking work time with a date not a time only
Date: Thu, 2 Apr 2009 11:37:44 +0200


On Apr 2, 2009, at 10:55 AM, Sébastien Vauban wrote:

Hi Giovanni and Jan,

I use Clocking work time function for a logging my work. [...] I would like
have in a table not a times but a dates too.

I have related questions on this subject as well...

Up to now, I was clocking time with timeclock-x under Emacs, and files such
as:

--8<---------------cut here---------------start------------->8---
i 2009/02/02 08:45:00 Client1
o 2009/02/02 09:35:00


Reading my mails.
i 2009/02/02 09:35:00 Client2
o 2009/02/02 12:30:00


Analysing their stuff for CCh.
i 2009/02/02 13:35:00 Client1
o 2009/02/02 17:30:00


Written the big report.
--8<---------------cut here---------------end--------------->8---

This is nice because it is chronological and I have notes about every clocked
time, but that's all...

Org beats this by orders of magnitude. That's why I've decided to begin now to
use Org as well for that.

Here is my example for these first 2 days of April:

--8<---------------cut here---------------start------------->8---

* 2009-04

*** Client1
   :LOGBOOK:
   CLOCK: [2009-04-01 Wed 09:05]--[2009-04-01 Wed 12:00] =>  2:55
   CLOCK: [2009-04-01 Wed 13:10]--[2009-04-01 Wed 16:30] =>  3:20
   CLOCK: [2009-04-02 Thu 08:55]
   :END:

*** Client2
   :LOGBOOK:
   CLOCK: [2009-04-01 Wed 12:00]--[2009-04-01 Wed 12:30] =>  0:30
   CLOCK: [2009-04-01 Wed 16:30]--[2009-04-01 Wed 17:15] =>  0:45
   :END:


#+BEGIN: clocktable :maxlevel 2 :scope file :block today
Clock summary at [2009-04-02 Thu 10:41], for Thursday, April 02, 2009.

| L | Headline     | Time   |
|---+--------------+--------|
|   | *Total time* | *0:00* |
|---+--------------+--------|
#+END:


#+BEGIN: clocktable :maxlevel 2 :scope file
Clock summary at [2009-04-02 Thu 10:41]

| L | Headline     | Time   |      |
|---+--------------+--------+------|
|   | *Total time* | *7:30* |      |
|---+--------------+--------+------|
| 1 | 2009-04      | 7:30   |      |
| 2 | Client1      |        | 6:15 |
| 2 | Client2      |        | 1:15 |
#+END:

--8<---------------cut here---------------end--------------->8---

Fantastic is that I can check how much time I've globally worked on which
project for this day and for this month at the same time.

Though:

- how can I associate a one-line comment to every block of time that I clock? The goal is to be able to justify, later, what I did on the different days I
 worked for them (and put that in their bill).

#+STARTUP: lognoteclock-out


Am I forced to add sub-headlines for every block of time? Is there another
 better (clearer) way to do?

- is there a possibility to get back, out of such a file, a chronological view
 of the whole file (where all projects are mixed)?

This is what the timeline buffer is for:

C-c a L

to get the buffer,

then press `l' or even `C-u l'

to get logging information included into this time-sorted display

- Carsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]