From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Finney Subject: =?UTF-8?B?Tm8gcHJvcGVydHkgY2hhbmdlIGZyb20g4oCYb3JnLWNsb2NrLXN1?= =?UTF-8?B?beKAmQ==?= Date: Sat, 02 Apr 2011 11:52:10 +1100 Message-ID: <87zko9lbk5.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=36365 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5p4v-00089F-GW for emacs-orgmode@gnu.org; Fri, 01 Apr 2011 20:52:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5p4u-0004bw-Eg for emacs-orgmode@gnu.org; Fri, 01 Apr 2011 20:52:37 -0400 Received: from lo.gmane.org ([80.91.229.12]:60204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5p4u-0004bn-31 for emacs-orgmode@gnu.org; Fri, 01 Apr 2011 20:52:36 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q5p4k-0004mB-2a for emacs-orgmode@gnu.org; Sat, 02 Apr 2011 02:52:26 +0200 Received: from eth595.vic.adsl.internode.on.net ([150.101.214.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Apr 2011 02:52:26 +0200 Received: from ben+emacs by eth595.vic.adsl.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Apr 2011 02:52:26 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Howdy all, When I use ‘org-clock-sum’ in Org-mode version 7.4, nothing appears to happen: the items in the subtree are not updated and no ‘CLOCKSUM’ property appears. I'm trying to generate an invoice report using ‘org-invoice.el’. The items on which I want to report have clock entries, generated correctly with ‘org-clock-in’ and ‘org-clock-out’. An example: ===== * foo ** bar *** [2011-03-24 Thu] CLOCK: [2011-03-24 Thu 14:15]--[2011-03-24 Thu 18:03] => 3:48 CLOCK: [2011-03-24 Thu 09:10]--[2011-03-24 Thu 12:27] => 3:17 *** [2011-03-23 Wed] CLOCK: [2011-03-23 Wed 14:10]--[2011-03-23 Wed 18:16] => 4:06 CLOCK: [2011-03-23 Wed 09:30]--[2011-03-23 Wed 13:10] => 3:40 *** [2011-03-22 Tue] CLOCK: [2011-03-22 Tue 14:00]--[2011-03-22 Tue 17:30] => 3:30 CLOCK: [2011-03-22 Tue 08:58]--[2011-03-22 Tue 13:31] => 4:33 ===== According to the doc string for ‘org-invoice-report’, the ‘CLOCKSUM’ property on each item in the subtree will be used for the report. So apparently I need to ‘org-clock-sum’ on the tree before updating the report, in order to automatically generate the ‘CLOCKSUM’ property. But that function doesn't change anything. Why wouldn't the ‘org-clock-sum’ function do what its doc string says? How should I be updating the ‘CLOCKSUM’ property? -- \ “Pinky, are you pondering what I'm pondering?” “I think so, | `\ Brain, but why does a forklift have to be so big if all it does | _o__) is lift forks?” —_Pinky and The Brain_ | Ben Finney