emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Alekseyev <dnquark@gmail.com>
To: Emacs orgmode <emacs-orgmode@gnu.org>
Subject: How to generate CLOCKSUM property from time ranges?
Date: Thu, 1 Nov 2018 22:01:19 -0500	[thread overview]
Message-ID: <CADzxs1mTtzMW-qqBZP46V3SxVwo8m37JuaAh9RSrsas9szet3A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 752 bytes --]

Greetings all,
I am looking into using `org-invoice` to generate some invoices. It uses
the CLOCKSUM property, which according to the docs gets auto-generated when
the clock entries are summed in a subtree.

Concretely, docs say: "CLOCKSUM: The sum of CLOCK intervals in the
subtree.  ‘org-clock-sum’ must be run first to compute the values in the
current buffer."  However, `org-clock-sum` is a non-interactive function,
and evaluating it by hand doesn't do anything for me.

Org-clock-report is able to generate the table with total subtree sums, but
doesn't set the CLOCKSUM property.

Question: how do I get CLOCKSUM property generated and stored in a subtree
with timestamps so that org-invoice functions can pick it up?
--Leo

[-- Attachment #2: Type: text/html, Size: 906 bytes --]

             reply	other threads:[~2018-11-02  3:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-02  3:01 Leo Alekseyev [this message]
2019-01-12 22:37 ` How to generate CLOCKSUM property from time ranges? Kyle Meyer

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=CADzxs1mTtzMW-qqBZP46V3SxVwo8m37JuaAh9RSrsas9szet3A@mail.gmail.com \
    --to=dnquark@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).