emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: clocktable: maximum level 0 does not only avoid listing it


From: Bernt Hansen
Subject: [Orgmode] Re: clocktable: maximum level 0 does not only avoid listing items but also does not calculate items
Date: Tue, 26 Oct 2010 18:55:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> On Oct 26, 2010, at 3:53 PM, Rainer Stengele wrote:
>
>> Am 26.10.2010 13:30, schrieb Carsten Dominik:
>>> Hi Rainer, hi Bernt,
>>>
>>> On Jul 22, 2010, at 9:16 AM, Rainer Stengele wrote:
>>>
>>>> Am 21.07.2010 16:24, schrieb Carsten Dominik:
>>>>>
>>>>> On Jul 13, 2010, at 11:21 AM, Rainer Stengele wrote:
>>>>>
>>>>>> Hi all!
>>>>>>
>>>>>> lately I use the marvelous clocktables a lot...
>>>>>>
>>>>>> For toplevel clocktables which just sum up "all" I use
>>>>>> ":maxlevel 0"
>>>>>>
>>>>>> The manual reads
>>>>>>
>>>>>> :maxlevel    Maximum level depth to which times are listed in
>>>>>> the table.
>>>>>>
>>>>>> which I misunderstood.
>>>>>> I understood: an unlisted item does not mean that its time is
>>>>>> not added!
>>>>>> But it looks like ":maxlevel 0" does not add everything up.
>>>>>
>>>>>
>>>>> I cannot reproduce this, :maxlevel 0 works for me.
>>>>>
>>>>>>
>>>>>> Ok, maybe the manual is a bit misleading here.
>>>>>>
>>>>>>
>>>>>>
>>>>>> How can I get a clocktable without any details which simply adds
>>>>>> up everything in the scope?
>>>>>>
>>>>>> BTW, the ":stepskip0" parameter does not seem to be included in
>>>>>> the manual.
>>>>>
>>>>> It is in the manual.
>>>>>
>>>>> - Carsten
>>>>>>
>>>>>>
>>>>>> Rainer
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>> Carsten,
>>>>
>>>> maybe I misunderstood.
>>>>
>>>>
>>>> 1. Without maxlevbel I get I get
>>>>
>>>> #+BEGIN: clocktable :scope ("file1.org" "file2") :timestamp t
>>>> :tstart "<2010-05-01 Sa 00:00>" :tend  "<2010-07-31 Sa 23:55>"
>>>> Clock summary at [2010-07-22 Do 09:07]
>>>>
>>>> | File              | L | Timestamp           | Headline       |
>>>> Time |        |        |
>>>> |-------------------+---+---------------------+----------------
>>>> +----------+--------+--------|
>>>> |                   |   | Timestamp           | *Total time*   |
>>>> *327:51* |        |        |
>>>> ...
>>>>
>>>>
>>>>
>>>> with :maxlevel 0 I get
>>>>
>>>>
>>>> #+BEGIN: clocktable :maxlevel 0 :scope ("file1.org" "file2")
>>>> :timestamp t :tstart "<2010-05-01 Sa 00:00>" :tend   "<2010-07-31
>>>> Sa 23:55>"
>>>> Clock summary at [2010-07-22 Do 09:11]
>>>>
>>>> | File | L | Timestamp | Headline     | Time     |
>>>> |------+---+-----------+--------------+----------|
>>>> |      |   | Timestamp | *Total time* | *232:17* |
>>>> |------+---+-----------+--------------+----------|
>>>> #+END:
>>>>
>>>>
>>>> I would like to get the same results!
>>>> Is ":maxlevel 0" intended to not include the sublevel clocks?
>>>
>>> I think I have finally fixed this bug.  Please verify.
>>>
>>> Bernt, I made a change to clock tables which I think I understand.
>>> But can you please watch out for inconsistencies with the newest
>>> version?  Maybe run some tests with old and new version, to make
>>> sure clock tables deliver the same results?
>>>
>>> Thanks!
>>>
>>> - Carsten
>>
>> Hi Carsten,
>>
>> I checked and found:
>>
>> - clocktable sums are resulting in identical values, independant of
>> the ":maxlevel" level
>> - without ":maxlevel" parameter some tables now give slightly
>> different results than in the past, some give identical results
>>  * I hope the new results are correct, but I did not have time to
>> check in detail
>>
>> Looks good, I will test further.
>
> no, this did not look good.
>
> I think I have found a bug, please pull again...
>
> - Carsten

Hi Carsten,

I haven't had time to pull the new clock table code yet.  I'll try to
get to it by the end of the week.  I don't currently use clock tables
all that much other than R in the agenda.

Thanks for testing this early Rainer.

Regards,
Bernt



reply via email to

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