org-caldav icon indicating copy to clipboard operation
org-caldav copied to clipboard

Add note about todo keywords to ignore for percent-states

Open Thaodan opened this issue 2 years ago • 1 comments

I'm using some todo keywords to mark some items as for example a meeting into my agenda view. When the user forgets to add a timestamp to those org-caldav tries to synchronise them as a (v)todo even thou these are not todos.

This issue can be prevented by only listing the keywords listed in org-percent-states inside org-icalendar-include-todo. Maybe org-caldav should either ignored unmapped todos states or only consider items as todos that are included inside percent-states.

Thaodan avatar Oct 21 '23 16:10 Thaodan

This snipped helped my to only include the todo export those inside org-caldav-todo-percent-states:

(setopt org-icalendar-include-todo
        (cl-loop for (p s) in
                 org-caldav-todo-percent-states collect s))

Thaodan avatar Oct 21 '23 20:10 Thaodan