Hi.

Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

> Hello,
>
> Olivier Berger <olivier.ber...@telecom-sudparis.eu> writes:
>
>> I have a TODO file with additional TODO/DONE states.
>>
>> It seems that when org-icalendar-include-todo is set to 't', it should
>> "include tasks that are not in DONE state.".
>>
>> In my TODO file I have the following configuration of TODO states :
>> #+SEQ_TODO: TODO(t) DEMARRE(e) ATTENTE(a) RDV(v) | DONE(d) ANNULE(n) 
>> REPORTE(r)
>>
>> I would expect that exporting the TODOs would only export the ones in
>> TODO, DEMARRE, ATTENTE or RDV states.
>>
>> However, TODOs in ANNULE state are exported too, it seems.
>>
>> Any hints ?
>
> According to `org-icalendar-include-todo' docstring, it only controls
> creation of VTODO components.
>
> It think you need `org-export-with-tasks'.
>

Thanks Nicolas, actually adding #+OPTIONS: tasks:todo to the header
solved the issue (originally using org-caldav-sync [0], btw) :-)

Many thanks.

Best regards,

[0] https://github.com/dengste/org-caldav
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


Reply via email to