diff options
author | Alan Pearce | 2016-02-16 16:57:43 +0100 |
---|---|---|
committer | Alan Pearce | 2016-02-16 16:57:43 +0100 |
commit | dce855ceb87d1c353987449bc07b26dc0c1ab1aa (patch) | |
tree | 9546f4bf470aa8ab0f46030af170f6f771665dfe /tag-emacs | |
parent | 8356b1cb97e88b90ee90ea3499bd25378bca2404 (diff) | |
download | nixfiles-dce855ceb87d1c353987449bc07b26dc0c1ab1aa.tar.lz nixfiles-dce855ceb87d1c353987449bc07b26dc0c1ab1aa.tar.zst nixfiles-dce855ceb87d1c353987449bc07b26dc0c1ab1aa.zip |
Emacs: Configure org-caldav
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 20 |
1 files changed, 20 insertions, 0 deletions
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 |