From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: .ics export violates RFC2445 Date: Tue, 29 Apr 2008 15:12:40 +0100 Message-ID: <20080429141240.GA9068@atlantic.linksys.moosehall> References: <20071107205621.GT13544@atlantic.linksys.moosehall> <2DE7990C-2666-430E-91F5-B34C4A35699D@science.uva.nl> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqqZc-0003le-8J for emacs-orgmode@gnu.org; Tue, 29 Apr 2008 10:12:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqqZa-0003lQ-SX for emacs-orgmode@gnu.org; Tue, 29 Apr 2008 10:12:46 -0400 Received: from [199.232.76.173] (port=41302 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqqZa-0003lJ-1M for emacs-orgmode@gnu.org; Tue, 29 Apr 2008 10:12:46 -0400 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JqqZZ-0005bT-5M for emacs-orgmode@gnu.org; Tue, 29 Apr 2008 10:12:45 -0400 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id m3TECg3M020034 for ; Tue, 29 Apr 2008 09:12:42 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id m3TECgwp020029 for emacs-orgmode@gnu.org; Tue, 29 Apr 2008 15:12:42 +0100 Content-Disposition: inline In-Reply-To: <2DE7990C-2666-430E-91F5-B34C4A35699D@science.uva.nl> 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: org-mode mailing list Carsten Dominik (carsten.dominik@gmail.com) wrote: > On 7Nov2007, at 9:56 PM, Adam Spiers wrote: > >I use org-export-icalendar-combine-agenda-files to export my > >appointments to an .ics file which I point korganizer at. > > > >I noticed ages ago that if I have an appointment with a comma in, > >e.g.: > > > >** <2007-12-07 Fri 20:00> foo, bar > > > >korganizer always shows it as "bar" rather than "foo, bar". But I > >never got round to investigating whether it was a bug with the export > >or korganizer or something else ... until now :-) I just took a quick > >look at the iCalendar spec, which is RFC2445, and discovered that the > >SUMMARY field is defined as follows > > > > summary = "SUMMARY" summparam ":" text CRLF > > > > -- from http://tools.ietf.org/html/rfc2445#section-4.8.1.12 > > > >And the definition of 'text' in this context explicitly states that > >several characters, including commas, need to be escaped with a > >backslash: > > > > http://tools.ietf.org/html/rfc2445#section-4.3.11 > > > >Sure enough, when I edited the .ics file and manually escaped the > >comma, korganizer displayed the summary correctly. > > fixed, thanks > > - Carsten This appears to have regressed in some recent version ... Also, it would be great if a UID field could be generated for each event, perhaps by checksumming the contents of the event in some way. The RFC says: Conformance: The property MUST be specified in the "VEVENT", "VTODO", "VJOURNAL" or "VFREEBUSY" calendar components. -- http://tools.ietf.org/html/rfc2445#section-4.8.4.7 The checksum would ensure that the UID field only changes when the event details check, which would be a first step towards helping synchronisation systems. I'm vaguely suspicious that the lack of UIDs currently confuses Google Calendar too. Thanks!