From: Dan Davison <davison@stats.ox.ac.uk>
To: Christian Egli <christian.egli@sbszh.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ANN] Exporter for taskjuggler
Date: Mon, 19 Apr 2010 09:34:48 -0400 [thread overview]
Message-ID: <871vebo9af.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <87wrw3dag8.fsf@saadawi.sbszh.ch> (Christian Egli's message of "Mon, 19 Apr 2010 12:05:11 +0200")
Christian Egli <christian.egli@sbszh.ch> writes:
[...]
>> It would also be nice if repeated invocation of
>> org-export-as-taskjuggler-and-open on the same project didn't spawn
>> multiple TJ instances (TJ v2.4.3 ubuntu).
>
> Hm, yes. Good idea. Do you have an idea how this could be done easily in
> elisp?
Is this more the reponsibility of the application? E.g. I just did
'firefox some.png' from the shell and it opened a new tab in a running
process. So maybe it's a question of checking whether / requesting that
the new ruby implementation has a way of telling it from the shell to
open (update?) a project in an already-running TJ process.
[...]
>> Make it work if `org-odd-levels-only' is in use:
>>
>> diff --git a/org-taskjuggler.el b/org-taskjuggler.el
>> index e887d33..e843dcd 100644
>> --- a/org-taskjuggler.el
>> +++ b/org-taskjuggler.el
>> @@ -309,7 +309,7 @@ the current node such as the headline, the level, todo state
>> information, all the properties, etc."
>> (let* ((props (org-entry-properties))
>> (components (org-heading-components))
>> - (level (car components))
>> + (level (nth 1 components))
>> (headline (nth 4 components))
>> (parent-ordered (org-taskjuggler-parent-is-ordered-p)))
>> (push (cons "level" level) props)
>
> Oh, OK, good catch. Does this also work if `org-odd-levels-only' is not
> in use?
Yes. C-h f org-heading-components says the second element differs from
the first only if org-odd-levels-only is set.
Dan
next prev parent reply other threads:[~2010-04-19 13:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 8:59 [ANN] Exporter for taskjuggler Christian Egli
2010-04-06 10:09 ` Carsten Dominik
2010-04-06 11:15 ` Christian Egli
2010-04-06 15:05 ` T Helms
2010-04-06 15:49 ` Christian Egli
2010-06-08 15:24 ` Christian Egli
2010-04-06 16:25 ` Carsten Dominik
2010-04-12 19:24 ` Eric S Fraga
2010-04-16 20:39 ` Dan Davison
2010-04-19 10:05 ` Christian Egli
2010-04-19 13:34 ` Dan Davison [this message]
2010-04-19 14:01 ` John Hendy
2010-04-20 8:09 ` Christian Egli
2010-05-11 3:37 ` Manish
2010-06-08 9:21 ` Christian Egli
2010-06-08 10:07 ` Carsten Dominik
2010-06-08 13:30 ` Christian Egli
2010-06-08 14:03 ` Christian Egli
2010-06-08 16:05 ` Carsten Dominik
2010-06-08 16:59 ` Leo
2010-06-09 19:55 ` Manish
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=871vebo9af.fsf@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--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).