From dce855ceb87d1c353987449bc07b26dc0c1ab1aa Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 16 Feb 2016 16:57:43 +0100 Subject: Emacs: Configure org-caldav --- tag-emacs/emacs.d/init.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index cd890115..4c643c5a 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -1640,6 +1640,26 @@ I can use this to keep a journal. I should use it. (file-notify-add-watch org-file '(change) #'ap/org-mobile-pull)))))))) #+END_SRC +**** org-caldav + +I’ve setup CalDAV on my server, it would be nice to use it directly +from org-mode. Previously I had to wait for org-mobile to sync and +write to the Android calendar, and then for DAVDroid to sync with the server. + +#+BEGIN_SRC emacs-lisp + (use-package org-caldav + :defer 30 + :config (progn + (setq org-caldav-url "https://calendar.alanpearce.uk/alan" + org-caldav-calendar-id "caldav" + org-caldav-inbox (concat org-directory "/agenda/caldav.org") + org-caldav-files `(,(concat org-directory "/agenda/organiser.org")) + org-icalendar-timezone "Europe/Berlin" + org-icalendar-use-scheduled '(event-if-todo event-if-not-todo todo-start) + org-icalendar-use-deadline '(event-if-todo event-if-not-todo todo-start) + org-icalendar-alarm-time 60))) +#+END_SRC + * Programming ** flycheck -- cgit 1.4.1