emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states
@ 2016-12-09 16:37 Olivier Berger
  2016-12-09 20:21 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier Berger @ 2016-12-09 16:37 UTC (permalink / raw)
  To: emacs-orgmode

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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states
  2016-12-09 16:37 ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states Olivier Berger
@ 2016-12-09 20:21 ` Nicolas Goaziou
  2016-12-12 14:00   ` Olivier Berger
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-12-09 20:21 UTC (permalink / raw)
  To: Olivier Berger; +Cc: emacs-orgmode

Hello,

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

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states
  2016-12-09 20:21 ` Nicolas Goaziou
@ 2016-12-12 14:00   ` Olivier Berger
  0 siblings, 0 replies; 3+ messages in thread
From: Olivier Berger @ 2016-12-12 14:00 UTC (permalink / raw)
  To: emacs-orgmode

Hi.

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Olivier Berger <olivier.berger@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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-12 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-09 16:37 ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states Olivier Berger
2016-12-09 20:21 ` Nicolas Goaziou
2016-12-12 14:00   ` Olivier Berger

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).