From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: ical2org (better timezone recognition and better default for max_age option) Date: Wed, 23 Feb 2011 20:22:07 +0000 Message-ID: <87oc6233io.fsf@ucl.ac.uk> References: <4D490193.8070708@lbl.gov> <87k4hionz0.fsf@pinto.chemeng.ucl.ac.uk> <4D5CCE9F.4000309@lbl.gov> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=40600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsLE7-0006z2-Cj for emacs-orgmode@gnu.org; Wed, 23 Feb 2011 15:22:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsLE3-0007EO-IT for emacs-orgmode@gnu.org; Wed, 23 Feb 2011 15:22:20 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:36796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsLE3-0007E4-BI for emacs-orgmode@gnu.org; Wed, 23 Feb 2011 15:22:19 -0500 In-Reply-To: <4D5CCE9F.4000309@lbl.gov> (Arun Persaud's message of "Wed, 16 Feb 2011 23:30:39 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Arun Persaud Cc: emacs-orgmode@gnu.org Arun Persaud writes: > Hi > >>>[option to ignore entries older than N days] >> Very useful option! Thanks. >> >> I would be tempted to make the default ignore any old events. Any >> thoughts on this? > > I changed it to ignore everything older than one week. > > I also updated the timezone parsing a bit after reading part of section > 4.3.5 of RFC2445 (ical). There seem to be 3 ways to specify a timezone > > date+T+time floating timezone=> assume local time > date+T+timeZ always UTC > TZID=;date+T+time time given in timezone > > ical2org should now parse the first two correctly. Let me know in case > this doesn't work correctly. If I have more time, I'll play with the > third timezone spec too... > > cheers > > Arun I can only verify that the second option seems to work (as all my google calendar entries are of that type). however, I'm a little concerned with some of the other changes, specifically that all timed events have become scheduled todo entries (of type GCAL) which really doesn't fit in with my use case at all unfortunately. I think scheduled events should be restricted to TODO entries -- maybe it's a matter of figuring out how google exports tasks and keep diary entries as just that? I do like that you are picking up the LOCATION and STATUS fields. I wonder if these could be made into properties for the org headlines you create, much as is done with the UID entry? -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.529.gb23d.dirty)