[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ox-icalendar's org-icalendar-include-todo and export for TODOs w
From: |
Olivier Berger |
Subject: |
Re: [O] ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states |
Date: |
Mon, 12 Dec 2016 15:00:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi.
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Olivier Berger <address@hidden> 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)