emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Georg C. F. Greve" <greve@fsfeurope.org>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: RFC 2445 compliance of org mode (was: Re: R: Problems with iCalendar export of my Calendar)
Date: Wed, 12 Nov 2008 17:44:29 +0100	[thread overview]
Message-ID: <87bpwkvqqa.fsf_-_@katana.lair> (raw)
In-Reply-To: <87wsf9usm9.fsf@katana.lair> (Georg C. F. Greve's message of "Wed, 12 Nov 2008 11:49:02 +0100")


[-- Attachment #1.1: Type: text/plain, Size: 1841 bytes --]

Hi Carsten,

I have played with things some more, and have now managed to restructure
my Calendar file in a way that it allows me to export to iCalendar in a
good and meaningful way.

Trying to import the results I noticed something that looks like an
error in the way Org Mode implements RFC2445 (iCalendar) [1]. Section
4.1.1 says that the COMMA character is a special character similar to
SEMICOLON and COLON.

Whenever these characters are used in the value of any property, the
character MUST be placed in quoted text. Section 4.2 says that

   Property parameter values that contain the COLON (US-ASCII decimal
   58), SEMICOLON (US-ASCII decimal 59) or COMMA (US-ASCII decimal 44)
   character separators MUST be specified as quoted-string text values.
   Property parameter values MUST NOT contain the DOUBLE-QUOTE (US-ASCII
   decimal 22) character. The DOUBLE-QUOTE (US-ASCII decimal 22)
   character is used as a delimiter for parameter values that contain
   restricted characters or URI text.

This would appear to mean that

 a) Any use of " is illegal in iCalendar, and should be replaced by ''
    wherever that character occurs.

 b) All values that contain COLON, SEMICOLON or COMMA should be quoted
    inside DOUBLE-QUOTES

But Org Mode currently escapes the COMMA with a BACKSLASH, which is
understood by some, but not all applications. E.g. on my mobile phone,
the BACKSLASH is taken literal, so things look fairly ugly.

Regards,
Georg


[1] http://tools.ietf.org/html/rfc2445/

-- 
Georg C. F. Greve                                 <greve@fsfeurope.org>
Free Software Foundation Europe	                 (http://fsfeurope.org)
President                                      +41 43 500 03 66 ext 400

Join the Fellowship and protect your freedom!     (http://www.fsfe.org)

[-- Attachment #1.2: Type: application/pgp-signature, Size: 306 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-11-12 16:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 11:29 Problems with iCalendar export of my Calendar Georg C. F. Greve
2008-11-11 14:38 ` R: " Giovanni Ridolfi
2008-11-11 18:19   ` Georg C. F. Greve
2008-11-11 19:31     ` Carsten Dominik
2008-11-12 10:49       ` Georg C. F. Greve
2008-11-12 16:44         ` Georg C. F. Greve [this message]

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=87bpwkvqqa.fsf_-_@katana.lair \
    --to=greve@fsfeurope.org \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /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).