From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: [PATCH] Separate clocksum format for durations >= 1 day Date: Tue, 06 Nov 2012 19:42:54 +0100 Message-ID: <87objazi6p.fsf@Rainer.invalid> References: <87wqy0vth7.fsf@Rainer.invalid> <20121105181653.GA5174@c3po> <87y5ifacu3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVo7Q-0005xr-Tf for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 13:43:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVo7K-0003PX-LY for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 13:43:24 -0500 Received: from plane.gmane.org ([80.91.229.3]:47944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVo7K-0003Ov-Ew for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 13:43:18 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TVo7P-00070B-4Q for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 19:43:23 +0100 Received: from pd9eb2770.dip.t-dialin.net ([217.235.39.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Nov 2012 19:43:23 +0100 Received: from Stromeko by pd9eb2770.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Nov 2012 19:43:23 +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: > Again, these are strange and very limiting rules. What if I want to have > "5 h 32 min"? And "5,3 days"? You provide a format string like you do now. > Achim didn't specify how he conceives the FMT argument. I thought that's obvious: the canned formats (the ones you'd want to use functions for) will by symbols that the cond compares against and anything else must be a string that can be given to format, like the custom we have now. That also takes care of staying backwards compatible (some folks might actually have customized that variable). If that turns out to be too limiting we can still decide to parse fancier format strings and feed the correct arguments into them. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds