CCing the maintainer.
Jean Luc <jl...@yahoo.com> writes:
> When exporting orgmode calendars to ics, ox-icalendar unfortunately
> produces ics files where all events are considered "BUSY".
>
> As most applications seem to conform to RFC 2445, at some point or
> another, the following line seems to be added to the ics file:
>
> X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
In my testing, this line is not produced by ox-icalendar. And it should
not - it is not a part of icalendar specification. Rather idiosyncratic
Microsoft Outlook extension to the format. (see
https://stackoverflow.com/questions/798016/vcalendar-show-as-free-busy-tentative-out-of-office)
The proper way to assign busy/free is
https://icalendar.org/iCalendar-RFC-5545/3-2-9-free-busy-time-type.html
> I'd like to have all my "all day events" turn out "Free", ie with the
> following line:
>
> X-MICROSOFT-CDO-INTENDEDSTATUS:FREE
>
> How can I do that?
In theory, you should be able to do something like
#+ICALENDAR_VCALENDAR: X-MICROSOFT-CDO-INTENDEDSTATUS:FREE
or an equivalent export snippet, but ox-icalendar does not support such
thing. I believe that it should be considered a bug - we should provide
some means to produce text to be exported verbatim from inside Org files.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>