From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann Hodique Subject: [PATCH 04/10] org-taskjuggler: task with end-only is also a milestone (deadline) Date: Sun, 5 Aug 2012 12:53:58 +0200 Message-ID: <1344164044-15059-5-git-send-email-yann.hodique@gmail.com> References: <1344164044-15059-1-git-send-email-yann.hodique@gmail.com> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxyUJ-0001Zi-R7 for emacs-orgmode@gnu.org; Sun, 05 Aug 2012 06:55:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxyUH-0000zt-I6 for emacs-orgmode@gnu.org; Sun, 05 Aug 2012 06:55:11 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:42841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxyUH-0000zj-CS for emacs-orgmode@gnu.org; Sun, 05 Aug 2012 06:55:09 -0400 Received: by wibhq4 with SMTP id hq4so642965wib.12 for ; Sun, 05 Aug 2012 03:55:08 -0700 (PDT) In-Reply-To: <1344164044-15059-1-git-send-email-yann.hodique@gmail.com> 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 Cc: Yann Hodique --- lisp/org-taskjuggler.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el index 7974d1e..f668e7f 100644 --- a/lisp/org-taskjuggler.el +++ b/lisp/org-taskjuggler.el @@ -689,7 +689,8 @@ org-mode priority string." (and (assoc "leaf-node" task) (not (or effort (cdr (assoc "duration" task)) - (cdr (assoc "end" task)) + (and (cdr (assoc "start" task)) + (cdr (assoc "end" task))) (cdr (assoc "period" task))))))) (attributes org-export-taskjuggler-valid-task-attributes)) (insert -- 1.7.11.3