From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Day Subject: Small suggestion for org-taskjuggler.el Date: Sun, 26 Aug 2012 18:20:39 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=f46d041825bc75c04b04c8329ef3 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5lCE-0006CY-9W for emacs-orgmode@gnu.org; Sun, 26 Aug 2012 18:20:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5lCD-0005ia-3T for emacs-orgmode@gnu.org; Sun, 26 Aug 2012 18:20:42 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:62205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5lCC-0005iS-SI for emacs-orgmode@gnu.org; Sun, 26 Aug 2012 18:20:41 -0400 Received: by wgbds1 with SMTP id ds1so1979878wgb.0 for ; Sun, 26 Aug 2012 15:20:39 -0700 (PDT) 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 --f46d041825bc75c04b04c8329ef3 Content-Type: multipart/alternative; boundary=f46d041825bc75c04804c8329ef1 --f46d041825bc75c04804c8329ef1 Content-Type: text/plain; charset=ISO-8859-1 In working with org-mode's taskjuggler exporter, I have noticed that it does not support the attributes chargeset and charge in taskjuggler 3. These attributes are necessary to use taskjuggler's cost estimating functions. I am not much of a coder, but I have tried my hand at a patch. commit 15b522901ff0dcd8a581ad55cd4bf4c3688908ad Author: Bill Day Date: Sun Aug 26 16:58:32 2012 -0400 Modified taskjuggler to add chargeset and charge diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el index aa645d2..2418654 100644 --- a/lisp/org-taskjuggler.el +++ b/lisp/org-taskjuggler.el @@ -659,7 +659,7 @@ org-mode priority string." '(account start note duration endbuffer endcredit end flags journalentry length maxend maxstart minend minstart period reference responsible scheduling - startbuffer startcredit statusnote))) + startbuffer startcredit statusnote chargeset charge))) (insert (concat "task " unique-id " \"" headline "\" {\n" -- Bill Day williamson.day@gmail.com --f46d041825bc75c04804c8329ef1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In working with org-mode's taskjuggler exporter, I have noticed that it= does not support the attributes chargeset and charge in taskjuggler 3.=A0 = These attributes are necessary to use taskjuggler's cost estimating fun= ctions.=A0 I am not much of a coder, but I have tried my hand at a patch.
commit 15b522901ff0dcd8a581ad55cd4bf4c3688908ad
Author: Bill Day <= ;williamson.d= ay@gmail.com>
Date:=A0=A0 Sun Aug 26 16:58:32 2012 -0400

= =A0=A0=A0 Modified taskjuggler to add chargeset and charge

diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el
index= aa645d2..2418654 100644
--- a/lisp/org-taskjuggler.el
+++ b/lisp/org= -taskjuggler.el
@@ -659,7 +659,7 @@ org-mode priority string."
=A0=A0=A0=A0 =A0 '(account start note duration endbuffer endcredit end<= br>=A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 flags journalentry length maxend maxsta= rt minend
=A0=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 minstart period reference res= ponsible scheduling
-=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 startbuffer startcred= it statusnote)))
+=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 startbuffer startcredit statusnote chargeset= charge)))
=A0=A0=A0=A0 (insert
=A0=A0=A0=A0=A0 (concat
=A0=A0=A0= =A0=A0=A0 "task " unique-id " \"" headline "\= " {\n"



--
Bill Day
williamson.da= y@gmail.com
--f46d041825bc75c04804c8329ef1-- --f46d041825bc75c04b04c8329ef3 Content-Type: text/plain; charset=US-ASCII; name="patch.txt" Content-Disposition: attachment; filename="patch.txt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