From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Separate clocksum format for durations >= 1 day Date: Tue, 06 Nov 2012 18:41:06 +0100 Message-ID: <87k3ty7hot.fsf@gmail.com> References: <871ug6ap9t.fsf@gmail.com> <20121106130401.GA10697@c3po> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVnDI-0001kX-QN for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 12:45:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVnDE-0007xQ-Lh for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 12:45:24 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:62926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVnDE-0007wy-Cg for emacs-orgmode@gnu.org; Tue, 06 Nov 2012 12:45:20 -0500 Received: by mail-we0-f169.google.com with SMTP id u3so398878wey.0 for ; Tue, 06 Nov 2012 09:45:19 -0800 (PST) In-Reply-To: <20121106130401.GA10697@c3po> (Toby Cubitt's message of "Tue, 6 Nov 2012 14:04:01 +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 Toby Cubitt writes: > 4. We replace the existing muddle with two defcustoms, one selecting > regular or decimal (or user-defined function), and one specifying a > list of standard format strings that the function can choose between, > depending on the duration. > > No custom format required, no format string parsing required. I'm talking about the other parsing: from the displayed duration to a number of minutes. It cannot be done if we allow user-defined functions. Also, I'd rather have one defcustom than two for a simple thing like duration display. So, I still suggest to provide an unique, although conditional, display for duration. If you still want to allow customization, make sure it can be parsed back (or better, provide the parser). I'm not fundamentally against format strings. Regards,