fix(emacs): add KILL state to org-caldav-todo-percent-states
Some checks failed
CI / check (push) Has been cancelled

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 <noreply@anthropic.com>
This commit is contained in:
hermione
2026-01-25 14:26:08 -08:00
committed by John Ogle
parent d9ffb14db5
commit 9c5be2e27a

View File

@@ -162,6 +162,15 @@
(setq org-icalendar-include-todo 'all) (setq org-icalendar-include-todo 'all)
(setq org-caldav-sync-todo t) (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) ;; Allow export with broken links (mu4e links can't be resolved during export)
(setq org-export-with-broken-links 'mark) (setq org-export-with-broken-links 'mark)