From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Bug: Inconsistent effort handling in clock totals in maint [9.1.13 (release_9.1.13 @ /home/bernt/git/org-mode/lisp/)] Date: Sun, 13 May 2018 20:53:40 -0400 Message-ID: <87d0xzqcq3.fsf@norang.ca> References: <87lgcpqyq7.fsf@norang.ca> <87sh6vteys.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fI6ie-0006dK-7M for emacs-orgmode@gnu.org; Mon, 14 May 2018 02:12:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fI1kR-0001RB-8A for emacs-orgmode@gnu.org; Sun, 13 May 2018 20:53:58 -0400 Received: from outbound1b.ore.mailhop.org ([54.200.247.200]:25428) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fI1kR-0001Lm-2R for emacs-orgmode@gnu.org; Sun, 13 May 2018 20:53:55 -0400 In-Reply-To: <87sh6vteys.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 13 May 2018 23:36:59 +0200") 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Bernt Hansen writes: > >> Notice modeline total has [0:05/0:15] >> So 'do something' has an effort of 15 minutes. It may be entered wrong but it is a bare 15 value >> instead of 15:00 or 00:15 >> >> :EFFORT: 15 >> >> 6) Go back to Test Parent >> C-c C-p >> >> 7) Enter column mode >> C-C C-x C-c >> >> Notice the total Effort is 15 hours and 30 minutes >> Column mode is using the 15 effort as hours not minutes while clocking uses it as minutes. >> When I run into this I change the effort value to either 15:00 or 00:15 but it would be better if it was handled consistently. > > Unfortunately, this discrepancy has deep roots. For example, the manual > has this: > > {:} Sum times, HH:MM, plain numbers are hours. > > Changing {:} or effort behaviour could be annoying. We may add another > summary-type, e.g. {::}, with the following description: > > {::} Sum times, HH:MM, plain numbers are minutes. > > WDYT? I am fine with plain numbers being interpretted as hours. I don't think we need a second interpretation for it (as minutes). Would it be possible to make the mode line total match whatever the current column view totalling is? Since the mode line total is using plain numbers as minutes not hours. I am just looking for consistency and existing setups with column view shouldn't be broken by a change here -- but I doubt anyone depends on the display on the mode line -- so if that changed from minutes to hours I would be fine with that. I don't think changing a bare 15 effort to mean minutes instead of the hours is a good idea - in case existing users already have effort data with plain numbers -- their estimates will change drastically. But making the effort total on the mode line change from 15 minutes to 15 hours will be consistent with the column view interpretation of plain numbers and it will be more obvious when you clock in that it isn't what you are expecting. OTOH people that don't use column view at all (do we have users like that?) that use clocking and the current behaviour on the mode line might be surprised when their total value changes from minutes to hours... but other than an 'alarm' indicator when you hit the limit it doesn't really do anything else that is useful as far as I know. My reason for using efforts is in estimating work on tasks and then following through and clocking the work to see how good my estimate really was. Column view as is works great for that. I find the mode line timer showing progress towards my effort limit useful but it is just a visual indication of how far along I am on the task currently being clocked -- and it jumps out as being wrong when the effort is a plain number. Any existing effort estimates I have with plain numbers are already hours in the existing column view code and I wouldn't want my estimates to change all of a sudden because we changed the default plain numbers from hours to minutes. Ideally I think I just want the mode line total to behave the same as the existing column view behaviour as far as plain numbers are concerned if this is easy and not causing more problems than it fixes. Otherwise I can live with it -- it's been this way for years I think -- and I will just change my effort values to always include both HH:MM and avoid plain numbers. Thanks, Bernt