From: Ihor Radchenko <yantar92@posteo.net>
To: Jean Luc <jlr_0@yahoo.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
Jack Kamm <jackkamm@gmail.com>
Subject: [BUG] ox-icalendar does not support custom export snippets (was: Turning all my "all day events" FREE in an ics export)
Date: Tue, 02 Jul 2024 14:29:24 +0000 [thread overview]
Message-ID: <87sewrj29n.fsf@localhost> (raw)
In-Reply-To: <1374731113.85480.1719912621305@mail.yahoo.com>
CCing the maintainer.
Jean Luc <jlr_0@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>
next prev parent reply other threads:[~2024-07-02 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1374731113.85480.1719912621305.ref@mail.yahoo.com>
2024-07-02 9:30 ` Turning all my "all day events" FREE in an ics export Jean Luc
2024-07-02 14:29 ` Ihor Radchenko [this message]
2024-07-02 22:53 ` [BUG] ox-icalendar does not support custom export snippets (was: Turning all my "all day events" FREE in an ics export) Jack Kamm
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=87sewrj29n.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=jackkamm@gmail.com \
--cc=jlr_0@yahoo.com \
/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).