From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: translating event sexps to org for org-caldav Date: Sat, 19 Nov 2016 22:43:41 +0000 Message-ID: <87shqn9jky.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8EMW-00077p-C4 for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 17:43:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8EMT-0002z7-A7 for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 17:43:56 -0500 Received: from mail-wj0-x235.google.com ([2a00:1450:400c:c01::235]:33841) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c8EMT-0002vk-3B for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 17:43:53 -0500 Received: by mail-wj0-x235.google.com with SMTP id mp19so11027988wjc.1 for ; Sat, 19 Nov 2016 14:43:52 -0800 (PST) Received: from localhost (91.109.241.36.static-uk.cryptolayer.com. [91.109.241.36]) by smtp.googlemail.com with ESMTPSA id 197sm10898013wmy.16.2016.11.19.14.43.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Nov 2016 14:43:50 -0800 (PST) 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: org mode Hello, After the recent discussion about org-caldav I thought I would give it a try. Unfortunately it won't work for my main diary that uses a lot of sexps[fn:1] >From the org-caldav github page[fn:2] : """However, sexp-entries are insanely flexible, and there are limits as to what the icalendar exporter will handle. For example, this here ** Regular event <%%(memq (calendar-day-of-week date) '(1 3 5))> will not be exported at all.""" However, org-agenda uses these sexps to make entries in the agenda. Would it be possible to reuse something from org-agenda to write these entries as org items into a file that could be uploaded using org-caldav? Maybe org-get-entries-from-diary? Is there a huge problem with this that I haven't noticed? Obviously this would just be a one-way push rather than a sync. Thanks, Myles * Footnotes [fn:1] I think I started using sexps just because org-mode can't do e.g. "every Monday, *between these two dates*" [fn:2] https://github.com/dengste/org-caldav