emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Small suggestion for org-taskjuggler.el
@ 2012-08-26 22:20 Bill Day
  2012-08-27 16:19 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Day @ 2012-08-26 22:20 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1094 bytes --]

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 <williamson.day@gmail.com>
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

[-- Attachment #1.2: Type: text/html, Size: 1397 bytes --]

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 739 bytes --]

commit 15b522901ff0dcd8a581ad55cd4bf4c3688908ad
Author: Bill Day <williamson.day@gmail.com>
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"

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Small suggestion for org-taskjuggler.el
  2012-08-26 22:20 Small suggestion for org-taskjuggler.el Bill Day
@ 2012-08-27 16:19 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-08-27 16:19 UTC (permalink / raw)
  To: Bill Day; +Cc: emacs-orgmode

Hi Bill,

Bill Day <williamson.day@gmail.com> writes:

> 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 <williamson.day@gmail.com>
> Date:   Sun Aug 26 16:58:32 2012 -0400
>
>     Modified taskjuggler to add chargeset and charge

Applied in master, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-27 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-26 22:20 Small suggestion for org-taskjuggler.el Bill Day
2012-08-27 16:19 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).