From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Question on ical2org script Date: Sun, 09 Oct 2011 20:51:19 +0100 Message-ID: <87vcry0wqw.fsf@ucl.ac.uk> References: <87d3e82qal.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCzPP-00085C-MD for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 15:51:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCzPH-0004hD-VS for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 15:51:39 -0400 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:41891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCzPH-0004fK-Kw for emacs-orgmode@gnu.org; Sun, 09 Oct 2011 15:51:31 -0400 In-Reply-To: <87d3e82qal.fsf@gmail.com> (rasmus@gmx.us's message of "Sat, 08 Oct 2011 03:03:14 +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: Rasmus Cc: Emacs Org mode mailing list Rasmus writes: > The following message is a courtesy copy of an article > that has been posted to gmane.emacs.orgmode as well. > > Hi,=20 > > I am maintaining my calendar in gcal and org. > > I have been switching back and forth between Eric's awk script and a > python script posted on this list recently. The later contains some > bugs.=20=20 > > However, I experience two issues with Eric's script. > > * Repeated events > > For repeated events only the first occurrence seems to translated. Here > is an example: > > =E2=94=8F=E2=94=81=E2=94=81=E2=94=81 > =E2=94=83 BEGIN:VEVENT > =E2=94=83 DTSTART;TZID=3DEurope/London:20111012T150000 > =E2=94=83 DTEND;TZID=3DEurope/London:20111012T170000 > =E2=94=83 RRULE:FREQ=3DWEEKLY;COUNT=3D9;BYDAY=3DWE > =E2=94=83 DTSTAMP:20111008T014417Z > =E2=94=83 UID:dihhjpn9hrnct6fj00epk9bnls@google.com > =E2=94=83 CREATED:20111007T222923Z > =E2=94=83 DESCRIPTION: > =E2=94=83 LAST-MODIFIED:20111007T222923Z > =E2=94=83 LOCATION: > =E2=94=83 SEQUENCE:0 > =E2=94=83 STATUS:CONFIRMED > =E2=94=83 SUMMARY:Micro Class > =E2=94=83 TRANSP:OPAQUE > =E2=94=83 END:VEVENT > =E2=94=97=E2=94=81=E2=94=81=E2=94=81 > > Note line 4. It reads that the event should be repeated weekly nine > times. It does not seem to be repeated in the org-file generated by > ical2org. Does other experience this as well? Yes, repeated events are not supported in the code. Probably trivial to add but I'm swamped with a new academic term which started last week so it'll be a while before I get to this. I'll add it to my (ever growing) TODO list in any case. Thanks for a clear example. > > * All day events.=20 > > For me all day events spans two days and are further given a time. > > Here is an example: > > =E2=94=8F=E2=94=81=E2=94=81=E2=94=81 > =E2=94=83 BEGIN:VEVENT > =E2=94=83 DTSTART;VALUE=3DDATE:20111012 > =E2=94=83 DTEND;VALUE=3DDATE:20111013 > =E2=94=83 UID:5oshl25lnn7da5mmog9bbemads@google.com > =E2=94=83 CREATED:20111007T214920Z > =E2=94=83 DESCRIPTION: > =E2=94=83 LAST-MODIFIED:20111007T214920Z > =E2=94=83 LOCATION: > =E2=94=83 SEQUENCE:0 > =E2=94=83 STATUS:CONFIRMED > =E2=94=83 SUMMARY:exam\, math > =E2=94=83 TRANSP:TRANSPARENT > =E2=94=83 END:VEVENT > =E2=94=97=E2=94=81=E2=94=81=E2=94=81 > > Which is translated to=20 > > * exam, math > <2011-10-12 Wed 00:00>--<2011-10-13 Thu 00:00> > > I don't know why Google writes time as > > =E2=94=8F=E2=94=81=E2=94=81=E2=94=81 > =E2=94=83 DTSTART;VALUE=3DDATE:20111012 > =E2=94=83 DTEND;VALUE=3DDATE:20111013 > =E2=94=97=E2=94=81=E2=94=81=E2=94=81 > > but the event is on 20111012 only and it might be more correct to > translate it to=20 > > * exam, math > <2011-10-12 Wed> > > which would (correctly) be interpreted as an all-day event in > org-agenda.=20 > > Does anyone else experience this all-day issue? > > Thanks, > Rasmus I'm not sure I tested all day events (I don't tend to use them, preferring to say 9am-5pm, say) but I can see the usefulness of these. I'll add this to my TODO list as well! Thanks for the feedback! eric --=20 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1 : using Org-mode version 7.7 (release_7.7.368.g85d0)