From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik 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 Message-ID: <65BBCAEB-3A73-4372-BD99-F76F928AACC5@gmail.com> References: <87ioxjbyew.fsf@ucl.ac.uk> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/signed; boundary="Apple-Mail=_DC3EF5A2-4FE0-4659-8313-E27BFA0E4A57"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQGw5-0001GE-At for emacs-orgmode@gnu.org; Sun, 29 Sep 2013 09:21:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VQGw0-0005CD-Cc for emacs-orgmode@gnu.org; Sun, 29 Sep 2013 09:21:21 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:57840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQGw0-0005C1-4Y for emacs-orgmode@gnu.org; Sun, 29 Sep 2013 09:21:16 -0400 Received: by mail-wg0-f50.google.com with SMTP id f12so4495281wgh.17 for ; Sun, 29 Sep 2013 06:21:15 -0700 (PDT) In-Reply-To: <87ioxjbyew.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: emacs-orgmode@gnu.org --Apple-Mail=_DC3EF5A2-4FE0-4659-8313-E27BFA0E4A57 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii 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 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 > --Apple-Mail=_DC3EF5A2-4FE0-4659-8313-E27BFA0E4A57 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSSClGAAoJEO+gg/nAZuwMbK0H/R9JaoGTs2/PTXgc3sPKtRF9 8Mn9Lz9sU5I4pq83kgngrpLNQp+0HZnPo6YBdmMAWhckrdhw1qylkbhAQL1RBzS9 2msOFfUZXExZWvOYDKM4UBg+oUvG5QoWoqmo3qVLKvxtNq+gXeEBsDBUSgXg9aYI qKWvrefKJZv2uMxAlSndAcTmgJ5udADul8HBcy6WcbJm3VWVaN0jFUYfliUNKsMW IHwxys3+wlFoJdUt7EpX8XvvhkNZdzJxIJbFUwAGZwe16aSHI4R5593uzAoQlQVL yNPUhEM2rWR/n8tVsT99YXHC32kdDl6Lewa+aL24Hd1EKF5sxe1QuLyg8os+T04= =AEzh -----END PGP SIGNATURE----- --Apple-Mail=_DC3EF5A2-4FE0-4659-8313-E27BFA0E4A57--