emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Egli <christian.egli@alumni.ethz.ch>
To: emacs-orgmode@gnu.org
Cc: Christian Egli <christian.egli@sbszh.ch>
Subject: [PATCH 2/3] Fix allocations handling for tj3
Date: Mon, 21 Mar 2011 16:11:07 +0100	[thread overview]
Message-ID: <1300720268-9375-3-git-send-email-christian.egli@alumni.ethz.ch> (raw)
In-Reply-To: <1300720268-9375-1-git-send-email-christian.egli@alumni.ethz.ch>

From: Christian Egli <christian.egli@sbszh.ch>

* org-taskjuggler.el (org-taskjuggler-open-task): Only emit a "purge
allocations" statement if we are not targeting tj3.
---
 lisp/org-taskjuggler.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el
index 279f46d..bcf2c45 100644
--- a/lisp/org-taskjuggler.el
+++ b/lisp/org-taskjuggler.el
@@ -660,8 +660,8 @@ org-mode priority string."
 	  (format " depends %s\n" previous-sibling)
 	(and depends (format " depends %s\n" depends)))
       (and allocate (format " purge %s\n allocate %s\n"
-			    (or (and (org-taskjuggler-targeting-tj3-p) "allocations")
-				"allocate")
+			    (or (and (org-taskjuggler-targeting-tj3-p) "allocate")
+				"allocations")
 			    allocate))
       (and complete (format " complete %s\n" complete))
       (and effort (format " effort %s\n" effort))
-- 
1.7.1

  parent reply	other threads:[~2011-03-21 15:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21 15:11 [PATCH 0/3] Small fixes to taskjuggler export Christian Egli
2011-03-21 15:11 ` [PATCH 1/3] Replace recursive implementation with an iterative one Christian Egli
2011-03-22  9:44   ` [Accepted] [O, " Bastien Guerry
2011-03-22  9:46   ` Bastien Guerry
2011-03-21 15:11 ` Christian Egli [this message]
2011-03-22  9:47   ` [Accepted] [O,2/3] Fix allocations handling for tj3 Bastien Guerry
2011-03-21 15:11 ` [PATCH 3/3] Fix a typo in the commentary Christian Egli
2011-03-22  9:47   ` [Accepted] [O,3/3] " Bastien Guerry
2011-03-22  9:49 ` [PATCH 0/3] Small fixes to taskjuggler export 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=1300720268-9375-3-git-send-email-christian.egli@alumni.ethz.ch \
    --to=christian.egli@alumni.ethz.ch \
    --cc=christian.egli@sbszh.ch \
    --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).