emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] clock-in and clock-out columns for clock-table


From: Paul Rudin
Subject: Re: [O] clock-in and clock-out columns for clock-table
Date: Sun, 12 Oct 2014 15:35:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Bastien <address@hidden> writes:

> Hi Paul,
>
> Paul Rudin <address@hidden> writes:
>
>> Is there a way to coerce a clock table to include the clock in and clock
>> out information?
>
> Can you give a literal example of the desired table output?
>

The kind of thing I have in mind is we have a file containing:

* Task 1
  CLOCK: [2014-10-12 Sun 15:20]--[2014-10-12 Sun 15:25] =>  0:05
  CLOCK: [2014-10-12 Sun 15:15]--[2014-10-12 Sun 15:20] =>  0:05

Then at the moment we can get a clock table like:

#+BEGIN: clocktable :maxlevel 2 :scope subtree
#+CAPTION: Clock summary at [2014-10-12 Sun 15:23]
| Headline     | Time   |
|--------------+--------|
| *Total time* | *0:10* |
|--------------+--------|
| Task 1       | 0:10   |
#+END:

But what I was after was a table something like this:


#+BEGIN: clocktable :maxlevel 2 :scope subtree
#+CAPTION: Clock summary at [2014-10-12 Sun 15:23]
| Headline     | Start time           | Stop time            | Elapsed time |
|--------------+----------------------+----------------------+--------------|
| *Total time* |                      |                      |       *0:10* |
|--------------+----------------------+----------------------+--------------|
| Task 1       | 2014-10-12 Sun 15:15 | 2014-10-12 Sun 15:20 |         0:05 |
| Task 1       | 2014-10-12 Sun 15:20 | 2014-10-12 Sun 15:25 |         0:05 |
#+END:


So, rather than aggregating the time from each separate time range
associated with a task into one row, we get a different row for each
time range.





reply via email to

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