From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Inquiry about ical2org Date: Fri, 27 May 2016 08:50:01 +0100 Message-ID: <8737p43pp2.fsf@ucl.ac.uk> References: <649f280c5d4d4c0b9f100fb9da170cdc@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87zird5keq.fsf@ucl.ac.uk> <6aaed23035a1488b92c4c5b556966320@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6D3C-0004cG-5l for emacs-orgmode@gnu.org; Fri, 27 May 2016 04:23:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6D38-0004IL-Ty for emacs-orgmode@gnu.org; Fri, 27 May 2016 04:23:22 -0400 Received: from mail-db3on0112.outbound.protection.outlook.com ([157.55.234.112]:13728 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6D38-0004GH-JL for emacs-orgmode@gnu.org; Fri, 27 May 2016 04:23:18 -0400 In-Reply-To: <6aaed23035a1488b92c4c5b556966320@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (John Hendy's message of "Thu, 26 May 2016 20:04:08 +0000") 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: John Hendy Cc: emacs-orgmode On Thursday, 26 May 2016 at 20:04, John Hendy wrote: [...] > Anyway, the point is that the repeater is built if there's any > repetition frequency/interval. You also capture the "until" into > rrend. So, the first date is going to feature a +unit, and this code > adds the end: > > else if (rrend != "") > date = date ">--<" rrend > > I just commented out both sections that add a "-- ", the other > checking for time2 being "". Is that the correct way to go about this? Well, I would simply not add the end information as org does not understand an end date for a repeating item. In other words, for a repeating item I would simply have the start date including the repeat directive. > Out of curiosity, how *is* the rrend code supposed to be handling > these? Or what's the use case for building a --? I should say that the awk codes have diverged. My own version now differs significantly from what is on Worg, which is where I assume you got your copy. I implemented repeating entries differently, it would seem. HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.4-869-gf2c421