From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: =?UTF-8?B?UmU6IEJ1ZzogTm8gcHJvcGVydHkgY2hhbmdlIGZyb20g4oCYb3Jn?= =?UTF-8?B?LWNsb2NrLXN1beKAmQ==?= Date: Thu, 05 May 2011 21:43:25 -0400 Message-ID: <87liyk7gea.fsf@norang.ca> References: <8739ltg26r.fsf@benfinney.id.au> <8762pofzx8.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIA4p-00048y-BR for emacs-orgmode@gnu.org; Thu, 05 May 2011 21:43:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIA4o-0006du-6o for emacs-orgmode@gnu.org; Thu, 05 May 2011 21:43:31 -0400 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:50518 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIA4o-0006dk-3e for emacs-orgmode@gnu.org; Thu, 05 May 2011 21:43:30 -0400 In-Reply-To: <8762pofzx8.fsf@benfinney.id.au> (Ben Finney's message of "Fri, 06 May 2011 10:14:27 +1000") 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: pjones@pmade.com, emacs-orgmode@gnu.org Ben Finney writes: > Ben Finney writes: > >> When I use =E2=80=98org-clock-sum=E2=80=99 in Org-mode version 7.4, noth= ing appears to >> happen: the items in the subtree are not updated and no =E2=80=98CLOCKSU= M=E2=80=99 >> property appears. >> >> 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 > > This is still the case after an upgrade: > > Org-mode version 7.5 > GNU Emacs 23.3.1 (powerpc-unknown-linux-gnu, GTK+ Version 2.24.4) of > 2011-04-11 on praetorius, modified by Debian > >> Why wouldn't the =E2=80=98org-clock-sum=E2=80=99 function do what its do= c string says? >> How should I be updating the =E2=80=98CLOCKSUM=E2=80=99 property? > > Can anyone shed light on this? I'd like to use the function as > specified. Hi Ben, I don't think the org-clock-sum function does what you think/want it to do. The docstring says it sets text properties on the headline - so I don't think it is intended to update a CLOCKSUM property in the headings. These text properties are temporary (ie. not saved in the org file) and I think these are used by the column view overlays for display-only. The org-invoice.el contributed file created by Peter Jones uses a CLOCKSUM property but I'm not sure if this is intended to be updated manually or automatically from the clocking lines in org. I've CC-ed Peter in case he can shed any light on this. Regards, Bernt