From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: [BUG] ox-taskjuggler: unable to use depends {gapduration} Date: Wed, 5 Nov 2014 00:39:52 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XluG4-0006lp-45 for emacs-orgmode@gnu.org; Wed, 05 Nov 2014 01:39:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XluG2-0007aF-Ml for emacs-orgmode@gnu.org; Wed, 05 Nov 2014 01:39:56 -0500 Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:51107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XluG2-0007a4-C1 for emacs-orgmode@gnu.org; Wed, 05 Nov 2014 01:39:54 -0500 Received: by mail-lb0-f169.google.com with SMTP id 10so96774lbg.0 for ; Tue, 04 Nov 2014 22:39:52 -0800 (PST) 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 I ran into an odd issue with a taskjuggler task tree I'm working on when trying to apply a gapduration attribute to a task dependency. Typically, I can just pass any valid taskjuggler attribute through using properties, but my export was producing an error when trying to use: :depends: task {gapduration 1h} I checked ox-taskjuggler to see if gapduration was not an acceptable attribute, but it actually references it specifically: #+begin_quote ox-taskjuggler.el ;; * Dependencies ;; ;; The exporter will handle dependencies that are defined in the tasks... ;; [snip] ;; ;; * Presentation ;; :PROPERTIES: ;; :Effort: 2d ;; :BLOCKER: training_material { gapduration 1d } some_other_task ;; :END: #+end_quote Here's my example: #+begin_src min-config (add-to-list 'load-path "~/.elisp/org.git/lisp/") (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp") (require 'ox-taskjuggler) #+end_src #+begin_src test.org * test :taskjuggler_project: ** task1 :PROPERTIES: :task_id: task1 :start: 2014-11-05-08:00 :END: ** task2 :PROPERTIES: :task_id: task2 :BLOCKER: task1 { gapduration 1d } :duration: 1h :END: #+end_src Oddly, the output is as follows (task section): #+begin_src test.tjp task test "test" { task task1 "task1" { milestone start 2014-11-05-08:00 } task task2 "task2" { depends !task1 t :taskjuggl duration 1h } #+end_src For some reason it's grabbing the taskjuggler tag! I tried with the example in ox-taskjuggler.el with the same result. M-x org-version Org-mode version 8.3beta (release_8.3beta-483-g58bb3a.dirty @ /home/jwhendy/.elisp/org.git/lisp/) Is this a bug or am I mis-interpreting how this would work? Thanks, John