From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Status google calendar sync Date: Wed, 15 Jun 2011 20:00:35 +0100 Message-ID: <878vt2q5rg.fsf@ucl.ac.uk> References: <8762t3idd3.fsf@gmx.ch> <4D48E887.20900@gmail.com> <5E7BEB01-1411-4BF4-A36B-C4FF43E55CF6@fastmail.net> <6843D3C6-E3B7-4D31-9F4C-163FA3770D71@fastmail.net> <4DF24E8E.5010200@lbl.gov> <4DF26BD0.4000001@lbl.gov> <874o3wa4b7.fsf@nzebook.haselwarter.org> <4788.1307817530@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWvKZ-0002vJ-JS for emacs-orgmode@gnu.org; Wed, 15 Jun 2011 15:00:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWvKW-0003SB-1b for emacs-orgmode@gnu.org; Wed, 15 Jun 2011 15:00:47 -0400 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:42069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWvKV-0003RY-HD for emacs-orgmode@gnu.org; Wed, 15 Jun 2011 15:00:43 -0400 In-Reply-To: <4788.1307817530@alphaville.dokosmarshall.org> (Nick Dokos's message of "Sat, 11 Jun 2011 14:38:50 -0400") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Philipp Haselwarter --=-=-= Content-Type: text/plain Nick Dokos writes: > Philipp Haselwarter wrote: Nick & Philipp, >> Unfortunately, both the awk script and the org-export-icalendar seem to >> have quite a hard time with repeating entries. Yes. I have extended my awk script to cater for ical events that span days which does appear to work (to some degree). See updated version attached. This does not handle generic repeated events unfortunately, but mostly because I'm not sure what the ical format for these might be (and have been too lazy to look into it). If you have a good example (or set of examples) of ical calendar entries that describe repeated events, I'm happy to work on the awk script further. --=-=-= Content-Type: application/x-awk Content-Disposition: attachment; filename=ical2org.awk Content-Transfer-Encoding: base64 Content-Description: ical 2 org awk script IyBhd2sgc2NyaXB0IGZvciBjb252ZXJ0aW5nIGFuIGlDYWwgZm9ybWF0dGVkIGZpbGUgdG8gYSBz ZXF1ZW5jZSBvZiBvcmctbW9kZSBoZWFkaW5ncy4KIyB0aGlzIG1heSBub3Qgd29yayBpbiBnZW5l cmFsIGJ1dCBzZWVtcyB0byB3b3JrIGZvciBkYXkgYW5kIHRpbWVkIGV2ZW50cyBmcm9tIEdvb2ds ZSdzCiMgY2FsZW5kYXIsIHdoaWNoIGlzIHJlYWxseSBhbGwgSSBuZWVkIHJpZ2h0IG5vdy4uLgoj CiMgdXNhZ2U6CiMgICBhd2sgLWYgVEhJU0ZJTEUgPCBpY2FsaW5wdXRmaWxlLmljcyA+IG9yZ21v ZGVlbnRyaWVzLm9yZwojCiMgTm90ZTogY2hhbmdlIG9yZyBtZXRhIGluZm9ybWF0aW9uIGdlbmVy YXRlZCBiZWxvdyBmb3IgYXV0aG9yIGFuZAojIGVtYWlsIGVudHJpZXMhCiMKIyBLbm93biBidWdz OgojIC0gbm90IHNvIG11Y2ggYSBidWcgYXMgYSBwb3NzaWJsZSBhc3N1bXB0aW9uOiBkYXRlIGVu dHJpZXMgd2l0aCBubyB0aW1lCiMgICBzcGVjaWZpZWQgYXJlIGFzc3VtZWQgdG8gYmUgaW5kZXBl bmRlbnQgb2YgdGhlIHRpbWUgem9uZS4KIwojIEVyaWMgUyBGcmFnYQojIDIwMTAwNjI5IC0gaW5p dGlhbCB2ZXJzaW9uCiMgMjAxMDA3MDggLSBhZGRlZCBlbmQgdGltZXMgdG8gdGltZWQ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LCIsICJnIiwgZ2Vu c3ViKCJcXFxcbiIsICJcbiIsICJnIiwgZW50cnkpKTsKICAgIHByaW50ICIqKiBDT01NRU5UIG9y aWdpbmFsIGlDYWwgZW50cnkiCiAgICBwcmludCBnZW5zdWIoIlxyIiwgIiIsICJnIiwgaWNhbGVu dHJ5KQogICAgc3VtbWFyeSA9ICIiCiAgICBkYXRlID0gIiIKICAgIGVudHJ5ID0gIiIKICAgIGlj YWxlbnRyeSA9ICIiCiAgICBpbmRlc2NyaXB0aW9uID0gMAogICAgaW5zdW1tYXJ5ID0gMAp9Cgoj IExvY2FsIFZhcmlhYmxlczoKIyB0aW1lLXN0YW1wLWxpbmUtbGltaXQ6IDEwMDAKIyB0aW1lLXN0 YW1wLWZvcm1hdDogIiUwNHkuJTAybS4lMDJkICUwMkg6JTAyTTolMDJTIgojIHRpbWUtc3RhbXAt YWN0aXZlOiB0CiMgdGltZS1zdGFtcC1zdGFydDogIkxhc3QgY2hhbmdlOlsgXHRdKyIKIyB0aW1l LXN0YW1wLWVuZDogIiQiCiMgRW5kOgo= --=-=-= Content-Type: text/plain [...] > I agree - I have been thinking (unfortunately mostly only thinking) > about it and it seems to me that many of the pieces are there, but there > is a non-trivial amount of work to do this and do it right: > > o icalendar.el should be the basis of this, but unfortunately, it is too > closely tied to the diary (and is incomplete or buggy in various > ways). it would indeed be nice to have an Emacs solution to the google -> org step. [...] > o These converters are ripe for what Kernighan and Plauger call a > "left-corner" development approach: just bite the smallest useful > subset and add features as needed, deliberately and carefully. Both > the current implementation of org-icalendar and Eric F.'s awk script > would be useful in this respect: they basically cover the basic > functionality needed (but perhaps not completely, as Philipp points > out). In some sense, this is indeed my modus operandum but it's not necessarily the best approach after a while... > BTW, the reason I've become interested in this is that recently I > started being bombarded with meeting invitations generated from (what > else?) M$ Outlook. My former method of adding the invitations to my > Org yes, I am seeing the same thing; I would love to have an automated or semi-automated procedure to take these things in gnus and create a capture event. I look forward to seeing what you have been up to in this respect! [...] > turns-you-to-stone-if-you-look-at-it-ugly) and there are bugs (the most > serious of which is the icalendar timezone stuff that I referred to in a > recent thread). I'm trying to fixg the bugs and am working on the > back-end usability stuff in order to survive the onslaught - but the > icalendar stuff in the middle is likely to remain unspeakably ugly in > the foreseeable future - I just have no time for it. time zones are a nightmare, especially with respect to Google. > So if anybody is interested, I hope this is useful as a starting > point. Very interested and happy to contribute as much as I can! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.391.gfaccb.dirty) --=-=-=--