From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Engster Subject: Re: org-caldav feedback Date: Mon, 21 Jan 2013 22:32:50 +0100 Message-ID: <87fw1u2pdp.fsf@engster.org> References: <87wqvb1vh4.fsf@engster.org> <87obgi2v9t.fsf@engster.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxOzD-0002Qw-IV for emacs-orgmode@gnu.org; Mon, 21 Jan 2013 16:33:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxOzC-0007Yd-2S for emacs-orgmode@gnu.org; Mon, 21 Jan 2013 16:32:59 -0500 Received: from randomsample.de ([83.169.19.17]:58056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxOzB-0007YP-ND for emacs-orgmode@gnu.org; Mon, 21 Jan 2013 16:32:58 -0500 In-Reply-To: (Torsten Wagner's message of "Mon, 21 Jan 2013 20:37:01 +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: Torsten Wagner Cc: Org Mode Mailing List Torsten Wagner writes: > You might can try > > =A0 =A0http://sogo-demo.inverse.ca/SOGo/dav/sogo1/Calendar/personal/ > > which is the demo account of the Sogo.=A0 Thanks. That'll work. After a bit of fiddling it seems that SOGo really really wants a timezone definition. I have no idea how those can be generated on-the-fly. I have a hunch you have to hard-code them. Anyway, you can put the definition you need into org-caldav-calendar-preamble. But first you need the correct one. For getting it, just create an event in your calendar. Then run org-caldav-sync and it should be put into your org-caldav-inbox. Then, evaluate (pop-to-buffer (org-caldav-get-event "ID")) where you have replaced "ID" with the ID of the event. You should see a buffer with the iCalendar entry in it. Then copy&paste everything from BEGIN:VCALENDAR to END:VTIMEZONE into org-caldav-calendar-preamble. For example, for Europe/Berlin it now seems to work with (setq org-caldav-calendar-preamble "BEGIN:VCALENDAR PRODID:-//Inverse inc./SOGo 2.0.3a//EN VERSION:2.0 BEGIN:VTIMEZONE TZID:Europe/Berlin X-LIC-LOCATION:Europe/Berlin BEGIN:DAYLIGHT TZOFFSETFROM:+0100 TZOFFSETTO:+0200 TZNAME:CEST DTSTART:19700329T020000 RRULE:FREQ=3DYEARLY;BYMONTH=3D3;BYDAY=3D-1SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0200 TZOFFSETTO:+0100 TZNAME:CET DTSTART:19701025T030000 RRULE:FREQ=3DYEARLY;BYMONTH=3D10;BYDAY=3D-1SU END:STANDARD END:VTIMEZONE ") If it works for you with such a timezone definition, it'd be interesting to know if SOGo needs all of that or if you could drop most of this stuff. -David