From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] ox-icalendar: fix handling of timestamps Date: Thu, 15 Aug 2013 09:52:37 +0200 Message-ID: <87siyb8k6y.fsf@gmail.com> References: <20130811020358.GA30350@kenny.local> <87mwooznuk.fsf@gmail.com> <20130811124214.GA69042@kenny.local> <87a9koz7ul.fsf@gmail.com> <20130811141439.GD69042@kenny.local> <20130811150913.GB70709@kenny.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9sMJ-0006CS-GL for emacs-orgmode@gnu.org; Thu, 15 Aug 2013 03:52:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9sM6-0003o3-UA for emacs-orgmode@gnu.org; Thu, 15 Aug 2013 03:52:39 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:35268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9sM6-0003no-OB for emacs-orgmode@gnu.org; Thu, 15 Aug 2013 03:52:26 -0400 Received: by mail-wg0-f52.google.com with SMTP id b13so317022wgh.7 for ; Thu, 15 Aug 2013 00:52:25 -0700 (PDT) In-Reply-To: <20130811150913.GB70709@kenny.local> (Viktor Rosenfeld's message of "Sun, 11 Aug 2013 17:09:14 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, Viktor Rosenfeld writes: >> So I propose to append the docstring of >> `org-icalendar-export-timestamps': >> >> This variable has precedence over and overrides the behavior of >> `org-export-with-timestamps'. The setting is applied to every >> timestamp below a headline What about those _on_ the headline? > I just realized that this is not enough. The option > `org-icalendar-with-timestamps' already changes the meaning of > `org-export-with-timestamps'. The latter only removes timestamps from > the export whereas during the iCalendar export the presence of a > timestamp determines whether the heading is exported at all. So it's > more akin to the behavior of :export: and :noexport: tags. Not at all. There are other ways to trigger a headline export (a TODO tag, another timestamp in the section, SCHEDULED information...). `org-icalendar-exclude-tags' is much stronger, since it will ignore headline unconditionally. > I would change the docstring of `org-icalendar-export-timestamps' as > such: > > Non-nil means export headlines with timestamps. > > It can be set to any of the following values: > t export headlines containing any kind of timestamp > `active' export headlines containing active timestamps > `inactive' export headlines containing inactive timestamps > nil do not any headlines I'd rather use something like: t generate an event for every timestamp type in the headline and so forth. Regards, -- Nicolas Goaziou