From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Wrong effort sums in hierarchy when org-time-clocksum-use-effort-durations is set Date: Fri, 11 Nov 2016 12:04:37 +0100 Message-ID: <87wpgae0qi.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c59dS-0001Jx-86 for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 06:04:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c59dN-0000cN-6Y for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 06:04:42 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:40724) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c59dN-0000a5-0U for emacs-orgmode@gnu.org; Fri, 11 Nov 2016 06:04:37 -0500 In-Reply-To: (=?utf-8?Q?=22Bj=C3=B6rn=09D=C3=B6ring=22's?= message of "Wed, 9 Nov 2016 09:10:39 +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" To: =?utf-8?B?QmrDtnJuIETDtnJpbmc=?= Cc: emacs-orgmode@gnu.org Hello, Bj=C3=B6rn D=C3=B6ring writes: > when columns view is opened with an "%Effort{:}" column, the sum is only > correct for the first parent element. Whereas "hours" are propagated up > the hierarchy, "days" are reset to zero when going up more than one > level in the hierarchy. > > Example: > > * Level 1 > ** Level 2 > *** Level 3 > **** Level 4 > :PROPERTIES: > :Effort: 2d > :END: > > In columns view (with `# -*- org-time-clocksum-use-effort-durations: t; > org-time-clocksum-format: (:days "%dd " :require-days t :hours "%d" > :require-hours t :minutes ":%02d" :require-minutes t) -*-`) this only > reports correct effort values for Level 4 and Level 3. Level 1 and Level > 2 show "0d 0:00", but "2d 0:00" is expected. Fixed. Thank you. Regards, --=20 Nicolas Goaziou