bvchg...@mail.com writes: >> Yes, it is invalid. You must always have :level. > > Ah! Thank you! Is there some documentation that explains which properties > each element must have in order to be valid, please?
Just https://orgmode.org/worg/dev/org-element-api.html And source code, of course. > For example I'm now trying to create a deadline for the heading, and it's > also not working. That's because deadline is not a part of the heading object. It is just kept there as property for convenience. You need to explicitly create (heading (...) (section (...) (planning ...) ...)) AST to add a deadline. -- 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>