From bbbb5ec803674339a44abe973464b039e4890ba4 Mon Sep 17 00:00:00 2001 From: Daneel Date: Tue, 24 Feb 2026 22:11:10 +0100 Subject: [PATCH] =?UTF-8?q?fix=20org-caldav:=20pre-create=20inbox=20soubor?= =?UTF-8?q?y=20p=C5=99ed=20sync=20(fromcal=20bug=20workaround)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config.el b/config.el index aec2acb..d2b7d12 100644 --- a/config.el +++ b/config.el @@ -1777,8 +1777,16 @@ current frame." 3. Rodina: read-only → family-calendar.org (login: family)" (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) + (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 --- ;; Stahuj události ze serveru → ~/org/caldav/suky.org (mimo agendu)