emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug] how to specify the format for clock table summaries and bug in formula calculations
Date: Sun, 29 Sep 2013 15:21:10 +0200	[thread overview]
Message-ID: <65BBCAEB-3A73-4372-BD99-F76F928AACC5@gmail.com> (raw)
In-Reply-To: <87ioxjbyew.fsf@ucl.ac.uk>

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

Hi Eric,

this would be

(setq org-time-clocksum-format "%d:%02d")

For more information, take a look at the function
`org-minutes-to-clocksum-string' and the variables mentioned
in its docstring.

HTH

- Carsten


On 29.9.2013, at 14:33, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> Hello,
> 
> I am clocking a number of tasks and need a summary.  The functionality
> provided by the org-clock table is ideal for my use case.  
> 
> However, the total time summaries use numbers of days when the number of
> hours exceeds 24.  Although this is fine most of the time, I would like
> to have total hours instead.  Is this possible?
> 
> More importantly, the ":formula %" option does not work as soon as days
> appear in the summaries!  The calculations for the percentages use only
> the hours in the totals, regardless of the number of days leading to
> some very interesting results (percentages > 100).  I don't know enough
> emacs calc to start to suggest how this could be fixed
> unfortunately... :(
> 
> ECM attached.
> 
> Any pointers appreciated! 
> 
> Thanks, 
> eric
> 
> -- 
> : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2-20-gc5f370
> <clocking.org>


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2013-09-29 13:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-29 12:33 [bug] how to specify the format for clock table summaries and bug in formula calculations Eric S Fraga
2013-09-29 13:21 ` Carsten Dominik [this message]
2013-09-30 11:38   ` Eric S Fraga
2013-09-29 13:24 ` Daniele Pizzolli
2013-09-30 11:38   ` Eric S Fraga

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=65BBCAEB-3A73-4372-BD99-F76F928AACC5@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --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).