From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: [PATCH] Separate file time from its tasks times Date: Fri, 30 Mar 2012 12:13:40 -0400 Message-ID: <87sjgq12yz.fsf@norang.ca> References: <80398qb5fg.fsf@somewhere.org> <80r4wa9q73.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDeSg-0002CD-Vm for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 12:14:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDeSc-0006vC-1b for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 12:14:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:50058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDeSb-0006ug-N3 for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 12:13:57 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SDeSZ-0002SA-4o for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 18:13:55 +0200 In-Reply-To: <80r4wa9q73.fsf@somewhere.org> (Sebastien Vauban's message of "Fri, 30 Mar 2012 15:24:48 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hi Seb, I think this detail should be part of the commit message text. Regards, Bernt "Sebastien Vauban" writes: > Hello, > > "Sebastien Vauban" wrote: >> 2012-03-30 Sebastien Vauban >> >> * org-clock.el (org-clocktable-write-default): Make the sum >> appear visually correct by not mixing the total time per file >> and sub-totals. > > This can be best understood with an example... > > Before: > > #+BEGIN: clocktable :maxlevel 4 :scope ("file-abc-tom.org" "file-abc-ann.org") :block 2012-02 > Clock summary at [2012-03-30 Fri 15:12], for February 2012. > > | File | Headline | Time | | > |------------------+------------------+-------+-------| > | | ALL Total time | 19:15 | | > |------------------+------------------+-------+-------| > | file-abc-tom.org | File time | 17:15 | | > | | Task A | 17:15 | | > | | TODO Subtask A1 | | 17:15 | > |------------------+------------------+-------+-------| > | file-abc-ann.org | File time | 2:00 | | > | | Task B | 2:00 | | > | | TODO Subtask B2 | | 2:00 | > #+END: > > Now: > > #+BEGIN: clocktable :maxlevel 4 :scope ("file-abc-tom.org" "file-abc-ann.org") :block 2012-02 > Clock summary at [2012-03-30 Fri 15:13], for February 2012. > > | File | Headline | Time | | | > |------------------+------------------+-------+-------+-------| > | | ALL Total time | 19:15 | | | > |------------------+------------------+-------+-------+-------| > | file-abc-tom.org | File time | 17:15 | | | > | | Task A | | 17:15 | | > | | TODO Subtask A1 | | | 17:15 | > |------------------+------------------+-------+-------+-------| > | file-abc-ann.org | File time | 2:00 | | | > | | Task B | | 2:00 | | > | | TODO Subtask B2 | | | 2:00 | > #+END: > > Best regards, > Seb