From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Bug: ox-taskjuggler :effort: property incorrectly converted when in minutes Date: Sun, 2 Nov 2014 17:07:17 -0600 Message-ID: References: <878ujtgqyj.fsf@nicolasgoaziou.fr> <87zjc9fbq6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl4Ey-0005zT-KK for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 18:07:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xl4Ex-0004IB-JV for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 18:07:20 -0500 Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:34731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl4Ex-0004I1-8R for emacs-orgmode@gnu.org; Sun, 02 Nov 2014 18:07:19 -0500 Received: by mail-la0-f52.google.com with SMTP id pv20so6713616lab.25 for ; Sun, 02 Nov 2014 15:07:17 -0800 (PST) In-Reply-To: <87zjc9fbq6.fsf@nicolasgoaziou.fr> 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: John Hendy , emacs-orgmode On Sun, Nov 2, 2014 at 5:01 PM, Nicolas Goaziou wrote: > John Hendy writes: > >> That mostly makes sense. Org's not case-sensitive, correct? > > Correct. > >> I was looking at the [granted, outdated] taskjuggler documentation and >> it features estimates in days (i.e. 10d): - >> http://orgmode.org/worg/org-tutorials/org-taskjuggler.html >> >> Is this recent (as in post-writing of that worg page)? > > I cannot remember. > >> Or are there other formats that could be accepted? > > Not at the moment, since ox-taskjuggler.el hardcodes > > (org-duration-string-to-minutes effort) > >> It's unfortunate that org and taskjuggler overlap on this, as ideally >> one could pass any tj attribute as a property and it'd "do the right >> thing." I see why the issue exists now. >> >> So if I want to estimate a task taking 10 days, I need to input 80:00? > > For now yes. > > The code could be improved, however. I.e, if effort matches > > "\\`[0-9]+:[0-5][0-9]\\'" > > use `org-duration-string-to-minutes', otherwise insert it as-is. Thanks for the explanation. I pretty much only use duration, which has never had an issue. As a fluke I used effort and noticed the big difference. Thanks for illuminating the situation! John > > > Regards,