Re: [O] ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states

2016-12-12 Thread Olivier Berger
Hi.

Nicolas Goaziou  writes:

> Hello,
>
> Olivier Berger  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)




Re: [O] ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states

2016-12-09 Thread Nicolas Goaziou
Hello,

Olivier Berger  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'.

Regards,

-- 
Nicolas Goaziou



[O] ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states

2016-12-09 Thread Olivier Berger
Hi.

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 ?

Thanks in advance.

Best regards
-- 
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)