emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Arun Persaud <apersaud@lbl.gov>
Cc: emacs-orgmode@gnu.org
Subject: Re: ical2org (better timezone recognition and better default for max_age option)
Date: Wed, 23 Feb 2011 20:22:07 +0000	[thread overview]
Message-ID: <87oc6233io.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4D5CCE9F.4000309@lbl.gov> (Arun Persaud's message of "Wed, 16 Feb 2011 23:30:39 -0800")

Arun Persaud <apersaud@lbl.gov> 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=<timezone>;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)

  reply	other threads:[~2011-02-23 20:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  7:02 ical2org Arun Persaud
2011-02-02  8:11 ` ical2org Eric S Fraga
2011-02-17  7:30   ` ical2org (better timezone recognition and better default for max_age option) Arun Persaud
2011-02-23 20:22     ` Eric S Fraga [this message]
2011-02-23 20:28       ` Arun Persaud
2011-02-23 20:44         ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc6233io.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=apersaud@lbl.gov \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).