emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Olivier Berger <olivier.berger@telecom-sudparis.eu>
To: emacs-orgmode@gnu.org
Subject: Re: ox-icalendar's org-icalendar-include-todo and export for TODOs with custom DONE states
Date: Mon, 12 Dec 2016 15:00:43 +0100	[thread overview]
Message-ID: <87mvg1ckms.fsf@inf-11879.int-evry.fr> (raw)
In-Reply-To: 8760msg8ex.fsf@nicolasgoaziou.fr

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)

      reply	other threads:[~2016-12-12 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvg1ckms.fsf@inf-11879.int-evry.fr \
    --to=olivier.berger@telecom-sudparis.eu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).