From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Question on ical2org script
Date: Sat, 08 Oct 2011 03:03:14 +0100 [thread overview]
Message-ID: <87d3e82qal.fsf@gmail.com> (raw)
Hi,
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.
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:
┏━━━
┃ BEGIN:VEVENT
┃ DTSTART;TZID=Europe/London:20111012T150000
┃ DTEND;TZID=Europe/London:20111012T170000
┃ RRULE:FREQ=WEEKLY;COUNT=9;BYDAY=WE
┃ DTSTAMP:20111008T014417Z
┃ UID:dihhjpn9hrnct6fj00epk9bnls@google.com
┃ CREATED:20111007T222923Z
┃ DESCRIPTION:
┃ LAST-MODIFIED:20111007T222923Z
┃ LOCATION:
┃ SEQUENCE:0
┃ STATUS:CONFIRMED
┃ SUMMARY:Micro Class
┃ TRANSP:OPAQUE
┃ END:VEVENT
┗━━━
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?
* All day events.
For me all day events spans two days and are further given a time.
Here is an example:
┏━━━
┃ BEGIN:VEVENT
┃ DTSTART;VALUE=DATE:20111012
┃ DTEND;VALUE=DATE:20111013
┃ UID:5oshl25lnn7da5mmog9bbemads@google.com
┃ CREATED:20111007T214920Z
┃ DESCRIPTION:
┃ LAST-MODIFIED:20111007T214920Z
┃ LOCATION:
┃ SEQUENCE:0
┃ STATUS:CONFIRMED
┃ SUMMARY:exam\, math
┃ TRANSP:TRANSPARENT
┃ END:VEVENT
┗━━━
Which is translated to
* exam, math
<2011-10-12 Wed 00:00>--<2011-10-13 Thu 00:00>
I don't know why Google writes time as
┏━━━
┃ DTSTART;VALUE=DATE:20111012
┃ DTEND;VALUE=DATE:20111013
┗━━━
but the event is on 20111012 only and it might be more correct to
translate it to
* exam, math
<2011-10-12 Wed>
which would (correctly) be interpreted as an all-day event in
org-agenda.
Does anyone else experience this all-day issue?
Thanks,
Rasmus
--
Sent from my Emacs
next reply other threads:[~2011-10-08 2:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-08 2:03 Rasmus [this message]
2011-10-09 19:51 ` Question on ical2org script 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d3e82qal.fsf@gmail.com \
--to=rasmus@gmx.us \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.