From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [PATCH] Separate clocksum format for durations >= 1 day Date: Mon, 05 Nov 2012 11:47:12 +0100 Message-ID: <878vagxr67.fsf@Rainer.invalid> References: <20121027140156.GA5003@c3po> <878vage7ik.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVKDL-0007K6-Ao for emacs-orgmode@gnu.org; Mon, 05 Nov 2012 05:47:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVKDH-0006BK-8c for emacs-orgmode@gnu.org; Mon, 05 Nov 2012 05:47:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:41008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVKDH-0006B6-1T for emacs-orgmode@gnu.org; Mon, 05 Nov 2012 05:47:27 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TVKDL-0007E8-6w for emacs-orgmode@gnu.org; Mon, 05 Nov 2012 11:47:31 +0100 Received: from pd9eb30ea.dip.t-dialin.net ([217.235.48.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Nov 2012 11:47:31 +0100 Received: from Stromeko by pd9eb30ea.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Nov 2012 11:47:31 +0100 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > As you suggest, I think a better plan is to replace all of them with > a single `org-time-clocksum-display-function'. Its expected value would > be a function accepting 2 arguments: hours and minutes, as numbers and > it should return a string. Actually, it seems an even better plan IMHO to just have one single function that takes a format string and the total time in minutes or seconds and allow customization of the format string. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada