From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?U8O4cmVuIE1pa2tlbHNlbg==?= Subject: Re: [bug] ox-taskjuggler Date: Thu, 22 Jan 2015 08:26:22 +0100 Message-ID: References: <87iog1xj52.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YECA4-0000CJ-M6 for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 02:26:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEC9z-0002IJ-S9 for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 02:26:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:58141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEC9z-0002I8-LW for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 02:26:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YEC9t-0006Lm-7I for emacs-orgmode@gnu.org; Thu, 22 Jan 2015 08:26:29 +0100 Received: from iha-nat.iha.dk ([130.225.184.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jan 2015 08:26:29 +0100 Received: from soren by iha-nat.iha.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Jan 2015 08:26:29 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-01-21 14:31, John Hendy wrote: > > On Jan 21, 2015 7:09 AM, "Søren Mikkelsen" > wrote: >> >> On 2015-01-20 22:00, Nicolas Goaziou wrote: >>> Hello, >>> >>> Søren Mikkelsen > writes: >>> >>>> I'm trying to use the taskjuggler exporter for getting an >>>> overview > of my >>>> project, and it seems to be straight forward if you know a >>>> bit about Taskjuggler. >>>> >>>> However, tasks that are scheduled org-mode like, i.e., >>>> >>>> *** TODO My task SCHEDULED: <2015-01-27 Tue> >>>> >>>> don't appear in the report. But, if I add a START property it >>>> will > appear. >>>> >>>> *** TODO My task 2 :PROPERTIES: :start: 2015-03-01 :END: >>>> >>>> I suspect it has something to do with l462-470: >>>> >>>> (defun org-taskjuggler-get-start (item) "Return start date >>>> for task or resource ITEM. ITEM is a headline. Return value >>>> is a string or nil if ITEM doesn't have any start date >>>> defined." (let ((scheduled (org-element-property :scheduled >>>> item))) (or (and scheduled (org-timestamp-format scheduled >>>> "%Y-%02m-%02d")) (and (memq 'start >>>> org-taskjuggler-valid-task-attributes) (org-element-property >>>> :START item))))) >>>> >>>> >>>> I'm not that experienced in elisp, so I hope someone can help >>>> me. >>> >>> There is no bug in the snippet shown. >>> >>> "ox-taskjuggler" just doesn't use SCHEDULED to set start >>> property for tasks. However, it will use SCHEDULED to set the >>> start date for the project. >>> >>> Note that I don't use Taskjuggler, so I don't know if this is >>> the right behaviour or not. >>> >>> >>> Regards, >>> >> According to the org mode docs, assigning the start of a task >> should be possible both ways: >> >> http://orgmode.org/worg/exporters/taskjuggler/ox-taskjuggler.html#sec-5 >> >> >> Or am I misinterpreting the docs? >> > > Well, I wrote that , so you may be correctly interpreting docs > written by someone who misunderstood! > > Perhaps the SCHUDULED property is just for the main project > container. I don't see it actually used in any examples? No, not other than the task example I was referring to. > > Sorry if the confusion was my fault! John >> -- Best regards, Søren Mikkelsen >> >> > It would, however, make sense to be able to scheduled tasks where interpreted as the start time, if the org-file is used for more than just generating the report. - -- Best regards, Søren Mikkelsen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUwKYOAAoJECUE7rt2jWDwZisH/RgMvuzGu8gef7Yw3474yjkV CIVf1D+DNXQKPv0R596hYhf8GrvSWw87+OvYtsDdcXJ+ueDxycPgrNy+rQbnGBvO UUjla1QMNtIXMHvRB232cZ91hL50CCI5Mgx5k67PRU9shvfJIA/b0KouZmrmyMna uUm16IaH3vWVNm/BrQJJi86jhz6uBqF9NBmaefoZxIYd8HAJLg1iQGMaDCxvhwLq xzQtfQAlUxkVi+rzOwOuYk9U11ixMPzm8h8XFTNo+Uvj8GyVMIs4+ZFRqwQJG7nk PC/9K4SXcOuBprZZTXX4Y4YKJiSJ6qRH+omjB7TXKtDYK6Atlh4egkw33hyxoak= =qAfS -----END PGP SIGNATURE-----