emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Day <williamson.day@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Small suggestion for org-taskjuggler.el
Date: Sun, 26 Aug 2012 18:20:39 -0400	[thread overview]
Message-ID: <CAJKu5kWzKu_rFaavrvDXnFq-MRp7=BojqP6PeQAcN0f13Azzew@mail.gmail.com> (raw)


[-- 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"

             reply	other threads:[~2012-08-26 22:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-26 22:20 Bill Day [this message]
2012-08-27 16:19 ` Small suggestion for org-taskjuggler.el Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJKu5kWzKu_rFaavrvDXnFq-MRp7=BojqP6PeQAcN0f13Azzew@mail.gmail.com' \
    --to=williamson.day@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).