Carsten Dominik <carsten.domi...@gmail.com> writes:

> Hi Eric,
>
> this would be
>
> (setq org-time-clocksum-format "%d:%02d")

Thanks.  This does the job perfectly!  Is this documented somewhere?  I
did spend quite a bit of time looking in the manual and on Worg but to
no avail.

Given that the default doesn't work in general when using the percentage
formula, it might be a good idea to update the manual to at least point
to this variable?  Maybe something along the attached patch?

Thanks again,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.1.1-7-gaecdf5
>From 1218a2045656c563612d4d9f494dcbc4c3225509 Mon Sep 17 00:00:00 2001
From: Eric S Fraga <e.fr...@ucl.ac.uk>
Date: Mon, 30 Sep 2013 12:36:52 +0100
Subject: [PATCH] Make reference to formatting variable for clock table formula
 option

* doc/org.texi (The clock table): The formula percentage option may
not work properly with the default time summary formatting.  The
documentation refers the reader to the variable that may need to be
adjusted.
---
 doc/org.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/org.texi b/doc/org.texi
index bfbc43c..093750b 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -6536,9 +6536,11 @@ but you can specify your own function using the @code{:formatter} parameter.
              @r{property will get its own column.}
 :inherit-props @r{When this flag is @code{t}, the values for @code{:properties} will be inherited.}
 :formula     @r{Content of a @code{#+TBLFM} line to be added and evaluated.}
-             @r{As a special case, @samp{:formula %} adds a column with % time.}
              @r{If you do not specify a formula here, any existing formula}
              @r{below the clock table will survive updates and be evaluated.}
+             @r{As a special case, @samp{:formula %} adds a column with % time.}
+             @r{For this special case, it may be useful to change the default}
+             @r{formatting of time summaries: see @code{org-time-clocksum-format}}
 :formatter   @r{A function to format clock data and insert it into the buffer.}
 @end example
 To get a clock summary of the current level 1 tree, for the current
-- 
1.8.1.2

Reply via email to