From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: "S:" prefix when syncing via CalDAV Date: Sun, 23 Jul 2017 13:38:23 +0200 Message-ID: <87lgnfmlhs.fsf@nicolasgoaziou.fr> References: <20170719191841.b3hevzvh7ths3mqo@boost.horde.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZFDT-0003ov-6S for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 07:38:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZFDQ-0008GP-2j for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 07:38:31 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35523) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dZFDP-0008GB-SI for emacs-orgmode@gnu.org; Sun, 23 Jul 2017 07:38:28 -0400 In-Reply-To: <20170719191841.b3hevzvh7ths3mqo@boost.horde.net> (John Morrissey's message of "Wed, 19 Jul 2017 15:18:41 -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" To: John Morrissey Cc: emacs-orgmode@gnu.org Hello, John Morrissey writes: > I'm syncing to Nextcloud via CalDAV with org-mode 9.0.3 and the latest > org-caldav. > > Events are sometimes synced (and modified in the .org file) with the prefix > "S:". The symptoms are exactly like: > > https://github.com/dengste/org-caldav/issues/33#issuecomment-74551937 > > "The SCHEDULED time gets converted to an active timestamp and a freshly > created property drawer with a new id is inserted above that newly created > active timestamp." > > It looks like this prefix is being prepended by org-icalendar-entry in > ox-icalendar, but I don't know enough about Lisp or org internals to debug > much further. > > Here are my org-{icalendar,caldav} settings: > > (setq org-icalendar-alarm-time 30) > (setq org-icalendar-use-deadline '(event-if-todo event-if-not-todo todo-due) > org-icalendar-use-scheduled '(event-if-todo event-if-not-todo todo-start)) > (setq org-export-exclude-category (list "dummy")) > > (setq org-caldav-inbox (expand-file-name "~/org/caldav-inbox.org")) > (setq org-caldav-files org-agenda-files) > (setq org-caldav-show-sync-results nil) > (setq org-caldav-resume-aborted 'never) > > Is there some configuration I need to change to stop this behavior? Since "org-caldav.el" is not distributed with Org mode, I need to understand what part of the problem is specifically related to "ox-icalendar.el". Could you show an example demonstrating why the generated ".ics" file is not correct, and what should be done instead? Regards, -- Nicolas Goaziou