emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] ox-taskjuggler


From: Søren Mikkelsen
Subject: Re: [O] [bug] ox-taskjuggler
Date: Thu, 22 Jan 2015 12:55:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2015-01-22 11:21, Christian Egli wrote:
> Søren Mikkelsen <address@hidden> 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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]