From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Engster Subject: Re: org-caldav feedback Date: Tue, 22 Jan 2013 21:01:23 +0100 Message-ID: <87boch2dik.fsf@engster.org> References: <87wqvb1vh4.fsf@engster.org> <87obgi2v9t.fsf@engster.org> <87fw1u2pdp.fsf@engster.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Txk2T-00036I-74 for emacs-orgmode@gnu.org; Tue, 22 Jan 2013 15:01:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Txk2N-0001MH-4j for emacs-orgmode@gnu.org; Tue, 22 Jan 2013 15:01:45 -0500 Received: from randomsample.de ([83.169.19.17]:59259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Txk2M-0001L2-Pt for emacs-orgmode@gnu.org; Tue, 22 Jan 2013 15:01:39 -0500 In-Reply-To: (Torsten Wagner's message of "Tue, 22 Jan 2013 16:35:13 +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: > I did not had time to play with the different parameters. For now I simply > added all of them. > I guess it has to do either with the timezone or with the daylight settings. > Maybe you want to add this to a "How-to install for SOGo" as a workaround. I think I found a better solution. I pushed a change to org-caldav which allows to set org-icalendar-timezone to the string "UTC", which will put events using universal time. The server should then transpose it to the timezone you have set in your SOGo preferences. It works for me (for SOGo, mind you; other calendar servers don't work well with that). > One problem remain. If I change something in the caldav calendar, the time > information in org get lost completely. > E.g. > * Meeting <2013-01-16 Wed 14:00> > becomes > * Meeting > It subsitutes the right entry and hence I believe it gets the ID stuff right. > However, it seems to have trouble to interpret the time information right (and > ignore them?). > If there is a way to help you debugging this please let me know. My test suite runs fine with the SOGo server, so I'm guessing it has to do with how you format your entries. Does this also happen when you put the timestamp underneath the heading? On a general note, I find manipulating Org entries rather delicate and wonder why there are no helper functions to change things like headings, timestamps, etc., which take care of the multitude of possibilities how entries can be formatted. My guess is that org-elements might be the solution for this, but I haven't looked at it yet... -David