From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Inquiry about ical2org Date: Fri, 27 May 2016 11:06:00 -0500 Message-ID: References: <649f280c5d4d4c0b9f100fb9da170cdc@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87zird5keq.fsf@ucl.ac.uk> <6aaed23035a1488b92c4c5b556966320@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <8737p43pp2.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]:40815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6KGz-0000gR-Vp for emacs-orgmode@gnu.org; Fri, 27 May 2016 12:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6KGv-00032D-Qn for emacs-orgmode@gnu.org; Fri, 27 May 2016 12:06:05 -0400 Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:35955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6KGv-000322-IG for emacs-orgmode@gnu.org; Fri, 27 May 2016 12:06:01 -0400 Received: by mail-vk0-x233.google.com with SMTP id k1so93860186vka.3 for ; Fri, 27 May 2016 09:06:01 -0700 (PDT) In-Reply-To: <8737p43pp2.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 Fri, May 27, 2016 at 2:50 AM, Eric S Fraga wrote: > 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. > Cool. Commenting has accomplished this for me and I don't get repeating entries anymore. >> 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. Ah, that makes more sense. I was confused about agreeing that an end date wasn't proper but the code having it. Is your original version anywhere handy? I tried searching but don't seem to find it. Thanks, John > > HTH, > eric > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.4-869-gf2c421