From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Georg C. F. Greve" 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 Message-ID: <87bpwkvqqa.fsf_-_@katana.lair> References: <860153.85437.qm@web28304.mail.ukl.yahoo.com> <87od0mf7ms.fsf@katana.lair> <87wsf9usm9.fsf@katana.lair> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1015224043==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0Ipr-00051b-DH for emacs-orgmode@gnu.org; Wed, 12 Nov 2008 11:44:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0Ipq-000511-Px for emacs-orgmode@gnu.org; Wed, 12 Nov 2008 11:44:54 -0500 Received: from [199.232.76.173] (port=37982 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Ipq-00050v-H7 for emacs-orgmode@gnu.org; Wed, 12 Nov 2008 11:44:54 -0500 Received: from gadolin.fsfeurope.org ([195.176.254.152]:44943) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L0Ipp-0002J8-SE for emacs-orgmode@gnu.org; Wed, 12 Nov 2008 11:44:54 -0500 In-Reply-To: <87wsf9usm9.fsf@katana.lair> (Georg C. F. Greve's message of "Wed, 12 Nov 2008 11:49:02 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org --===============1015224043== Content-Type: multipart/signed; boundary="20081112174429+010023458608-197259067-103366438"; micalg=pgp-sha1; protocol="application/pgp-signature" --20081112174429+010023458608-197259067-103366438 Content-Transfer-Encoding: quoted-printable 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/ =2D-=20 Georg C. F. Greve 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) --20081112174429+010023458608-197259067-103366438 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQCVAwUBSRsH7Sk9sUy32wQcAQJ82AQAtKbvoMpVN+cj1uZbhlaSaE9OkJRUXE0o 4ujnjuQDcoBMmDtVDbo2BBRtjHeAlZhxGMQOmLGyzz3+iQQK0GdzG7lV7uXuLalD nklK01WIyKieXI2WjrwEM20fj4tL9TY4LN5al7SvT2kbCgr54+CWBr1+8HGD4YMa mZa3JcTfZXg= =/jE3 -----END PGP SIGNATURE----- --20081112174429+010023458608-197259067-103366438-- --===============1015224043== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1015224043==--