From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: =?UTF-8?B?UmU6IEJ1ZzogTm8gcHJvcGVydHkgY2hhbmdlIGZyb20g4oCYb3Jn?= =?UTF-8?B?LWNsb2NrLXN1beKAmQ==?= Date: Fri, 6 May 2011 17:31:47 +0200 Message-ID: <0FD50E86-C9AE-4E8C-A59B-7E19548895EF@gmail.com> References: <8739ltg26r.fsf@benfinney.id.au> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:32938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIN0T-0003Dg-8j for emacs-orgmode@gnu.org; Fri, 06 May 2011 11:31:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIN0S-0000qv-4i for emacs-orgmode@gnu.org; Fri, 06 May 2011 11:31:53 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:51107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIN0S-0000qp-0B for emacs-orgmode@gnu.org; Fri, 06 May 2011 11:31:52 -0400 Received: by eyd9 with SMTP id 9so1128621eyd.0 for ; Fri, 06 May 2011 08:31:51 -0700 (PDT) In-Reply-To: <8739ltg26r.fsf@benfinney.id.au> 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: Ben Finney Cc: emacs-orgmode@gnu.org On 7.4.2011, at 23:51, Ben Finney wrote: > Howdy all, >=20 > When I use =91org-clock-sum=92 in Org-mode version 7.4, nothing = appears to > happen: the items in the subtree are not updated and no =91CLOCKSUM=92 > property appears. CLOCKSUM is a special property which is only a way to access clocking information, but the property is never set literally. org-invoice was broken due to changes in the property code in org.el, fixed now. HTH - Carsten >=20 > Org-mode version 7.4 > GNU Emacs 23.2.1 (powerpc-unknown-linux-gnu, GTK+ Version 2.20.1) of > 2010-12-12 on porpora, modified by Debian >=20 >=20 > I'm trying to generate an invoice report using =91org-invoice.el=92. >=20 > The items on which I want to report have clock entries, generated > correctly with =91org-clock-in=92 and =91org-clock-out=92. An example: >=20 > =3D=3D=3D=3D=3D > * foo > ** bar > *** [2011-03-24 Thu] > CLOCK: [2011-03-24 Thu 14:15]--[2011-03-24 Thu 18:03] =3D> 3:48 > CLOCK: [2011-03-24 Thu 09:10]--[2011-03-24 Thu 12:27] =3D> 3:17 > *** [2011-03-23 Wed] > CLOCK: [2011-03-23 Wed 14:10]--[2011-03-23 Wed 18:16] =3D> 4:06 > CLOCK: [2011-03-23 Wed 09:30]--[2011-03-23 Wed 13:10] =3D> 3:40 > *** [2011-03-22 Tue] > CLOCK: [2011-03-22 Tue 14:00]--[2011-03-22 Tue 17:30] =3D> 3:30 > CLOCK: [2011-03-22 Tue 08:58]--[2011-03-22 Tue 13:31] =3D> 4:33 > =3D=3D=3D=3D=3D >=20 > According to the doc string for =91org-invoice-report=92, the = =91CLOCKSUM=92 > property on each item in the subtree will be used for the report. >=20 > So apparently I need to =91org-clock-sum=92 on the tree before = updating the > report, in order to automatically generate the =91CLOCKSUM=92 = property. But > that function doesn't change anything. >=20 > Why wouldn't the =91org-clock-sum=92 function do what its doc string = says? > How should I be updating the =91CLOCKSUM=92 property? >=20 > --=20 > \ =93The industrial system is profoundly dependent on = commercial | > `\ television and could not exist in its present form without it.=94 = | > _o__) =97John Kenneth Galbraith, _The New Industrial State_, = 1967 | > Ben Finney >=20 >=20