fix org-caldav: pre-create inbox soubory před sync (fromcal bug workaround)
This commit is contained in:
10
config.el
10
config.el
@@ -1777,8 +1777,16 @@ current frame."
|
|||||||
3. Rodina: read-only → family-calendar.org (login: family)"
|
3. Rodina: read-only → family-calendar.org (login: family)"
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
||||||
;; Vytvoř caldav/ adresář pokud neexistuje (mimo org-agenda-files)
|
;; Vytvoř caldav/ adresář a prázdné inbox soubory pokud neexistují
|
||||||
|
;; (org-caldav někdy odmítne vytvořit soubor sám od sebe)
|
||||||
(make-directory "~/org/caldav" t)
|
(make-directory "~/org/caldav" t)
|
||||||
|
(dolist (f '("~/org/caldav/suky.org"
|
||||||
|
"~/org/caldav/placeholders.org"
|
||||||
|
"~/org/caldav/family.org"
|
||||||
|
"~/org/caldav/klara.org"))
|
||||||
|
(unless (file-exists-p (expand-file-name f))
|
||||||
|
(with-temp-file (expand-file-name f)
|
||||||
|
(insert "#+TITLE: CalDAV sync\n#+STARTUP: overview\n"))))
|
||||||
|
|
||||||
;; --- 1. Osobni - Suky ---
|
;; --- 1. Osobni - Suky ---
|
||||||
;; Stahuj události ze serveru → ~/org/caldav/suky.org (mimo agendu)
|
;; Stahuj události ze serveru → ~/org/caldav/suky.org (mimo agendu)
|
||||||
|
|||||||
Reference in New Issue
Block a user