[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] ox-icalendar: fix handling of timestamps
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] ox-icalendar: fix handling of timestamps |
Date: |
Thu, 15 Aug 2013 09:52:37 +0200 |
Hello,
Viktor Rosenfeld <address@hidden> 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