aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-02-27 00:50:38 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-02-27 00:50:38 +0900
commit883ace72f3ab5330474fcf67a9a1b5264fd638bb (patch)
tree8a9e9d5624002068ee0bda828a7ae161c58631f7
parent3a4281b30fa07d7f7c2277e884b190924645053c (diff)
Add caldav settings
-rw-r--r--.emacs12
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index b809601..df1ddbd 100644
--- a/.emacs
+++ b/.emacs
@@ -102,6 +102,18 @@
;;; undo-tree-mode
(global-undo-tree-mode t)
+;;; icalendar
+(setq org-icalendar-timezone "Asia/Tokyo")
+(setq org-icalendar-alarm-time 5)
+(setq org-icalendar-use-scheduled '(todo-start event-if-todo))
+
+;;; org-caldav
+(setq org-caldav-url "https://cloud.tojo.tokyo/remote.php/dav/calendars/masaya.tojo")
+(setq org-caldav-calendar-id "personal")
+(setq org-caldav-inbox "~/org/calendar.org")
+(setq plstore-cache-passphrase-for-symmetric-encryption t)
+(setq org-caldav-backup-file "~/calendar-bak.org")
+
;;; Font
(set-face-attribute 'default nil :height 110)