all repos — nixfiles @ dce855ceb87d1c353987449bc07b26dc0c1ab1aa

System and user configuration, managed by nix and home-manager

Emacs: Configure org-caldav

Alan Pearce
commit

dce855ceb87d1c353987449bc07b26dc0c1ab1aa

parent

8356b1cb97e88b90ee90ea3499bd25378bca2404

1 file changed, 20 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1640,6 +1640,26 @@ (setq org-mobile-watcher
(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