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: Wed, 15 Aug 2012 21:11:50 +0200 Message-ID: <1345057917-69300-6-git-send-email-yann.hodique@gmail.com> References: <1345057917-69300-1-git-send-email-yann.hodique@gmail.com> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1j0x-0004Zt-8n for emacs-orgmode@gnu.org; Wed, 15 Aug 2012 15:12:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1j0w-0002ZX-3y for emacs-orgmode@gnu.org; Wed, 15 Aug 2012 15:12:23 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:33637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1j0v-0002Wn-UY for emacs-orgmode@gnu.org; Wed, 15 Aug 2012 15:12:22 -0400 Received: by mail-wg0-f49.google.com with SMTP id ez12so1350913wgb.30 for ; Wed, 15 Aug 2012 12:12:21 -0700 (PDT) In-Reply-To: <1345057917-69300-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