From 9c5be2e27a3143b22357abb560618a154d14b3b7 Mon Sep 17 00:00:00 2001 From: hermione Date: Sun, 25 Jan 2026 14:26:08 -0800 Subject: [PATCH] fix(emacs): add KILL state to org-caldav-todo-percent-states org-caldav needs percent mappings for all todo states. Added mappings for TODO, IN-PROGRESS, WAIT, DONE, and KILL to prevent sync errors. Co-Authored-By: Claude Opus 4.5 --- home/roles/emacs/doom/config.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home/roles/emacs/doom/config.el b/home/roles/emacs/doom/config.el index 0a367ab..b6683f8 100644 --- a/home/roles/emacs/doom/config.el +++ b/home/roles/emacs/doom/config.el @@ -162,6 +162,15 @@ (setq org-icalendar-include-todo 'all) (setq org-caldav-sync-todo t) + ;; Map org-todo-keywords to VTODO percent-complete values + ;; Must include all states from org-todo-keywords + (setq org-caldav-todo-percent-states + '(("TODO" . 0) + ("IN-PROGRESS" . 50) + ("WAIT" . 50) + ("DONE" . 100) + ("KILL" . 100))) + ;; Allow export with broken links (mu4e links can't be resolved during export) (setq org-export-with-broken-links 'mark)