From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Berger 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 Message-ID: <87mvg1ckms.fsf@inf-11879.int-evry.fr> References: <877f79hxdu.fsf@inf-11879.int-evry.fr> <8760msg8ex.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGRA2-0002XD-VV for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 09:01:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGR9z-0008M8-LY for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 09:00:59 -0500 Received: from [195.159.176.226] (port=36933 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGR9z-0008LB-Fr for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 09:00:55 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cGR9q-0006Xk-Oq for emacs-orgmode@gnu.org; Mon, 12 Dec 2016 15:00:46 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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)