emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Ben Finney <ben+emacs@benfinney.id.au>
Cc: pjones@pmade.com, emacs-orgmode@gnu.org
Subject: Re: Bug: No property change from ‘org-clock-sum’
Date: Thu, 05 May 2011 21:43:25 -0400	[thread overview]
Message-ID: <87liyk7gea.fsf@norang.ca> (raw)
In-Reply-To: <8762pofzx8.fsf@benfinney.id.au> (Ben Finney's message of "Fri, 06 May 2011 10:14:27 +1000")

Ben Finney <ben+emacs@benfinney.id.au> writes:

> Ben Finney <ben+emacs@benfinney.id.au> writes:
>
>> 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.
>>
>> 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 ‘org-clock-sum’ function do what its doc string says?
>> How should I be updating the ‘CLOCKSUM’ 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

  reply	other threads:[~2011-05-06  1:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 21:51 Bug: No property change from ‘org-clock-sum’ Ben Finney
2011-05-06  0:14 ` Ben Finney
2011-05-06  1:43   ` Bernt Hansen [this message]
2011-05-06  6:34     ` Ben Finney
2011-05-06 13:56       ` Bernt Hansen
2011-05-06 15:30         ` Carsten Dominik
2011-05-06 15:55           ` Bernt Hansen
2011-05-07  0:48           ` Ben Finney
2011-05-06 14:43     ` Peter Jones
2011-05-06 16:32       ` Bernt Hansen
2011-05-06 15:31 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87liyk7gea.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=ben+emacs@benfinney.id.au \
    --cc=emacs-orgmode@gnu.org \
    --cc=pjones@pmade.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).