Hello, Eric Abrahamsen <e...@ericabrahamsen.net> writes:
> Is there any chance of building slightly on org-element's parsing of > plain-lists, so that it lists which represent state logs are somehow > noted as such? I'm imagining that `org-element-plain-list-parser' could > be augmented to provide a (:log t) property, or if we accept that > state-log lists are always unordered, the :type property could even just > be 'log. I don't think what is done with lists has much to do with their syntax. Anyway, you can write a function to find such candidates, if needed, without overloading the parser (for little benefit). > For that it might be nice if list items knew if they were state-change > notes (State "WAIT" from "TODO", etc) or plain notes (Note taken on... > etc). This is not really possible, unless you forbid users to arbitrary start an item with "State "xxx" from "xxx"" or "Note taken on", i.e., you bless them as parts of Org syntax. I wouldn't go that far. Regards, -- Nicolas Goaziou