[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ox-icalendar: Filter todo-types
From: |
Ihor Radchenko |
Subject: |
Re: ox-icalendar: Filter todo-types |
Date: |
Mon, 24 Jun 2024 07:23:59 +0000 |
Jack Kamm <jackkamm@gmail.com> writes:
> Perhaps these variables could map tags as well as todo keywords to
> status? E.g., in the following:
>
> (setq org-icalendar-event-status-map
> '((cancelled . ("KILLED" "cancelled"))))
Then, may as well just map generalized property:
'((canceled . (("TODO" . "KILLED") ("TAGS" . "cancelled") ("PROPERTY" .
"VALUE"))))
We might also allow setting something like
* An event that was canceled
:PROPERTIES:
:ICALENDAR_VEVENT_STATUS: canceled
:END:
A non-todo entry with active timestamp <2024-06-23>.
It will be exported with STATUS as CANCELLED.
Or, if we want to go even further, may allow TAGS-matcher
syntax/arbitrary function as the criterion.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>