From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: problem with org-caldav and ox-icalendar: UID property wrapping Date: Wed, 07 May 2014 17:45:27 +0200 Message-ID: <878uqdzj6w.fsf@gmail.com> References: <87vbthd6mw.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi41l-0005dn-8Z for emacs-orgmode@gnu.org; Wed, 07 May 2014 11:45:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi41f-0005va-S5 for emacs-orgmode@gnu.org; Wed, 07 May 2014 11:45:01 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:51889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi41f-0005ub-Lv for emacs-orgmode@gnu.org; Wed, 07 May 2014 11:44:55 -0400 Received: by mail-wg0-f52.google.com with SMTP id l18so1171725wgh.11 for ; Wed, 07 May 2014 08:44:54 -0700 (PDT) Received: from selenimh ([91.224.148.150]) by mx.google.com with ESMTPSA id cd10sm32372835wib.0.2014.05.07.08.44.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 May 2014 08:44:53 -0700 (PDT) In-Reply-To: <87vbthd6mw.fsf@pinto.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Wed, 7 May 2014 15:07:35 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, Eric S Fraga writes: > I have tracked this down to org-icalendar outputing wrapped lines even > for UID entries: > > ,---- > | BEGIN:VEVENT > | DTSTAMP:20140507T114443Z > | UID:0400[...]00 > | 00[...]6 > | DTSTART;TZID=Europe/London:20120403T060000 > `---- AFAIU RFC 5545, all lines longer than 75 octets, including UID lines, are expected to be folded. Therefore I think ox-icalendar is right. > Have the recent (in April) changes to ox-icalendar.el affected how IDs > are written out? I don't think so. > Ideally, org-caldav should be fixed to unwrap ID lines. Indeed. > I can try to do this but I need some help with regexps, specifically > to match across two lines: "\n ". You don't have to. For unfolding you only need to turn "\n " into "". Regards, -- Nicolas Goaziou