all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Myles English <mylesenglish@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: translating event sexps to org for org-caldav
Date: Sat, 19 Nov 2016 22:43:41 +0000	[thread overview]
Message-ID: <87shqn9jky.fsf@gmail.com> (raw)


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

             reply	other threads:[~2016-11-19 22:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 22:43 Myles English [this message]
2016-11-21 22:38 ` translating event sexps to org for org-caldav Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shqn9jky.fsf@gmail.com \
    --to=mylesenglish@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.