Browse Source

Remove caldav calendars and use org

- remove org calendar and perso calendar (replaced with anniversaires.org)
- remove org-caldav
master
Maxime Wack 2 years ago
parent
commit
db0144d8e9
2 changed files with 15 additions and 45 deletions
  1. +0
    -34
      .config/vdirsyncer/config
  2. +15
    -11
      .emacs

+ 0
- 34
.config/vdirsyncer/config View File

@@ -17,40 +17,6 @@ url = "https://caldav.maximewack.com/maxx/349a7ff0-4928-0e44-a09d-79a044c45935/"
username = "maxx"
password.fetch = ["command", "pass", "vdirsync"]

[pair org_calendars]
a = "org_calendars_local"
b = "org_calendars_remote"
collections = ["from a", "from b"]
metadata = ["color", "displayname"]

[storage org_calendars_local]
type = "filesystem"
path = "~/Mail/Calendars/Org/"
fileext = ".ics"

[storage org_calendars_remote]
type = "caldav"
url = "https://caldav.maximewack.com/maxx/4e3071f2-df7b-0aa4-41f9-f1789d744bd9/"
username = "maxx"
password.fetch = ["command", "pass", "vdirsync"]

[pair my_perso_calendars]
a = "my_perso_calendars_local"
b = "my_perso_calendars_remote"
collections = ["from a", "from b"]
metadata = ["color", "displayname"]

[storage my_perso_calendars_local]
type = "filesystem"
path = "~/Mail/Calendars/Perso/"
fileext = ".ics"

[storage my_perso_calendars_remote]
type = "caldav"
url = "https://caldav.maximewack.com/maxx/5b0bbb40-8725-3c71-3a3d-8951170cbee7/"
username = "maxx"
password.fetch = ["command", "pass", "vdirsync"]

[pair courses]
a = "courses_local"
b = "courses_remote"


+ 15
- 11
.emacs View File

@@ -1780,17 +1780,21 @@ A is compared to B."

;;;;; Org caldav

(use-package org-caldav
:config
(setq org-caldav-url "https://caldav.maximewack.com/maxx" ; Server base address
org-caldav-inbox "~/Projects/org/caldav-in.org" ; cal->org inbox
org-caldav-files `("~/Projects/org/notes.org" ,@org-agenda-files) ; files to org->cal
org-icalendar-timezone "Europe/Paris"
org-caldav-sync-direction 'twoway ; Sync from org to cal by default
org-caldav-sync-changes-to-org 'all ; Update all data from entry in org when cal->org
org-caldav-calendar-id "4e3071f2-df7b-0aa4-41f9-f1789d744bd9" ;
org-icalendar-use-deadline '(event-if-todo-not-done todo-due)
org-icalendar-use-scheduled '(event-if-todo-not-done todo-due)))
;; (use-package org-caldav
;; :config
;; (setq org-caldav-url "https://caldav.maximewack.com/maxx" ; Server base address
;; org-caldav-inbox nil ; cal->org inbox
;; org-caldav-files `("~/Projects/org/notes.org" ,@org-agenda-files) ; files to org->cal
;; org-icalendar-timezone "Europe/Paris"
;; org-caldav-sync-direction 'org->cal ; Sync from org to cal by default
;; org-caldav-sync-changes-to-org 'all ; Update all data from entry in org when cal->org
;; org-caldav-delete-calendar-entries 'always
;; org-caldav-resume-aborted 'never
;; org-caldav-calendar-id "4e3071f2-df7b-0aa4-41f9-f1789d744bd9"
;; org-icalendar-use-deadline '(event-if-todo-not-done event-if-not-todo todo-due)
;; org-icalendar-use-scheduled '(event-if-todo-not-done event-if-not-todo todo-start)
;; org-icalendar-alarm-time 30))
; Set up an alarm 30min before the event

;;;;; Calfw



Loading…
Cancel
Save