From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Inquiry about ical2org Date: Thu, 26 May 2016 15:00:28 -0500 Message-ID: References: <649f280c5d4d4c0b9f100fb9da170cdc@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87zird5keq.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b61SI-0004Zt-PC for emacs-orgmode@gnu.org; Thu, 26 May 2016 16:00:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b61SH-0005Tj-LA for emacs-orgmode@gnu.org; Thu, 26 May 2016 16:00:30 -0400 Received: from mail-vk0-x22e.google.com ([2607:f8b0:400c:c05::22e]:36624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b61SH-0005Tc-G3 for emacs-orgmode@gnu.org; Thu, 26 May 2016 16:00:29 -0400 Received: by mail-vk0-x22e.google.com with SMTP id k1so61401219vka.3 for ; Thu, 26 May 2016 13:00:29 -0700 (PDT) In-Reply-To: <87zird5keq.fsf@ucl.ac.uk> 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" To: Eric S Fraga , John Hendy , emacs-orgmode On Thu, May 26, 2016 at 2:49 AM, Eric S Fraga wrote: > On Wednesday, 25 May 2016 at 20:33, John Hendy wrote: >> I found ical2org, and implemented it successfully via the "Share > > Which ical2org is this? If it's the awk script I wrote originally, the > repeat handling was written with the assumption that there would be no > end date for the repeat as org cannot handled end dates for repeated > items. Whoops -- yes, the awk script. Sorry, now I'm remembering there was a ruby version as well. Here's an example of a recurring meeting I see: RRULE:FREQ=MONTHLY;UNTIL=20161114T150000Z;INTERVAL=1;BYDAY=2MO DTSTART;TZID=Central Standard Time:20160613T090000 DTEND;TZID=Central Standard Time:20160613T103000 DTSTAMP:20160526T195005Z I'm no awk expert, but I think I make out what's going on... the #repetition rule section extracts (among others) the freq (monthly) and interval (1) to build a repeater (+1m), though and rrend using the "until" field. > > I can try to fix this in the awk script by simply ignoring end dates in > such cases. Let me know. > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.93.1, Org release_8.3.4-775-g3308a5