From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Format of Effort estimates should be mentioned in its Info node Date: Sat, 04 Jan 2020 02:55:29 +0000 Message-ID: <87k168exr2.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43904) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inZbJ-0001Hl-NY for emacs-orgmode@gnu.org; Fri, 03 Jan 2020 21:55:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inZbH-0003ZC-Bc for emacs-orgmode@gnu.org; Fri, 03 Jan 2020 21:55:40 -0500 Received: from pb-smtp20.pobox.com ([173.228.157.52]:56021) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inZbG-0003QQ-QN for emacs-orgmode@gnu.org; Fri, 03 Jan 2020 21:55:39 -0500 In-Reply-To: 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: Kisaragi Hiu , emacs-orgmode@gnu.org Kisaragi Hiu writes: > Currently, the Info node about effort estimates does not mention what > format should it be written in. This causes confusion, as a user might > assume that it's the same format as schedulers (10m, 6h, etc.) like I > did. > > Simply mentioning "Effort estimates need to have the format H:MM" I don't personally use effort estimates, but quickly poking around I see some indication that estimates should work fine with things like 10min rather than 0:10. In particular org-set-effort has a bit that looks like this: (org-refresh-property '((effort . identity) (effort-minutes . org-duration-to-minutes)) value) The presence of org-duration-to-minutes hints to some sort of normalization: (org-duration-to-minutes "10min") ; => 10.0 (org-duration-to-minutes "0:10") ; => 10.0 And it looks like org-agenda-compare-effort uses the effort-minutes text property. That's presumably why, when I view the entries below in the agenda, org-agenda-filter-by-effort (bound to "_") treats them the same: * TODO a :PROPERTIES: :Effort: 10min :END: * TODO b :PROPERTIES: :Effort: 0:10 :END: But that's just one use of effort values, and it sounds like you've hit into cases where the 10min form didn't work as expected. Could you provide more details? > (copied from the docstring or org-effort-property, the only* > description of the format I could find) in the Info node would be > enough. Given the above, it seems like org-effort-property's docstring is at least somewhat inaccurate.