From: "Søren Mikkelsen" <soren@aamikkelsen.dk>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] ox-taskjuggler
Date: Thu, 22 Jan 2015 12:55:57 +0100 [thread overview]
Message-ID: <m9qoge$ktc$1@ger.gmane.org> (raw)
In-Reply-To: <87d267ru9c.fsf@sbs.ch>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2015-01-22 11:21, Christian Egli wrote:
> Søren Mikkelsen <soren@aamikkelsen.dk> writes:
>
>> It would, however, make sense to be able to scheduled tasks
>> where interpreted as the start time, if the org-file is used for
>> more than just generating the report.
>
> I agree that it would make sense to use the scheduled date as the
> start time. The same is probably true for DEADLINES as well. IIRC
> there was a patch once for deadlines which I never managed to
> integrate.
>
> Anyway what you would like doesn't seem very hard to implement:
> Just add another statement to the (let*) of
> org-taskjuggler--build-task where you get the start time using the
> org-taskjuggler-get-start function. Then just insert the start time
> in the (concat) statement maybe right after (and priority (format "
> priority %s\n" priority))
>
> Let me know if you need any help
>
> Thanks Christian
>
Thanks for suggestions. Well, even though I used emacs for quite some
time my elisp programmering skills are on a very basic level, so I'll
need some help.
I've added
(starttime (org-taskjuggler-get-start task)) in the let*
and
(and starttime (format " start %s\n" starttime)) after priority.
It works, but only for tasks that aren't having a start attribute. It
is possible to give a warning if the start attribute already exists
and make the default one, the one specified in the attributes (drawer)?
- --
Best regards,
Søren Mikkelsen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUwOVBAAoJECUE7rt2jWDwmKIH/RxqtwTf3WyMelI6BonAIraf
BMF+Y7l+BBXbHDrYiKSW2SDCLuGFrbTaZn95tmom3YXfXAruJQlfe6orOeqPqiBM
0bt1ryvKq5ZdOzeHHFxyJilgHcuCeEtN6LTs1+URvTS4+8N5mnplnzCIGDbTKjiX
M43spWsVWg39vrqQAqQUADQBHiNR/wq5WjRUiFW9cDpAOiDRkz1kwWb/QFkpjjjl
KCa7EP5nQOySBpLjuPwPFUXuKWs7jP3NIxD4Wmsc3huQnCqJcCuTZKTcuLwPa+Co
PGsYwIyoNQM5k/pctCw5XVTkQrK8eFEW/YtEPAqqRp8jmkIaZYXLevLceIWMOqo=
=xdd0
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2015-01-22 11:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 12:44 [bug] ox-taskjuggler Søren Mikkelsen
2015-01-20 21:00 ` Nicolas Goaziou
2015-01-21 13:08 ` Søren Mikkelsen
2015-01-21 13:31 ` John Hendy
2015-01-22 7:26 ` Søren Mikkelsen
2015-01-22 10:21 ` Christian Egli
2015-01-22 11:55 ` Søren Mikkelsen [this message]
2015-01-23 8:59 ` Christian Egli
2015-01-23 11:31 ` Søren Mikkelsen
2015-01-26 12:30 ` Christian Egli
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='m9qoge$ktc$1@ger.gmane.org' \
--to=soren@aamikkelsen.dk \
--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).