emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Inquiry about ical2org


From: Eric S Fraga
Subject: Re: [O] Inquiry about ical2org
Date: Fri, 27 May 2016 08:50:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux)

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 "-- <date2>", 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 <date1 +unit>--<date2>?

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]