Does anyone have any idea how to force #emacs #org to extract all properties (including inherited) of a given header into a string?
Also, how to query to a given header based on id? :-)
I want an external process to call emacs and and get those properties in stdout / file in a given location.
=> More informations about this toot | More toots from mms@bsd.cafe
@mms Would that do?
(defun my/list-properties-inherit ()
(seq-filter
#'cdr
(mapcar
(lambda (p) (cons p (org-entry-get (point) p t)))
(org-buffer-property-keys))))
Unfortunately, org-entry-properties' doesn't respect
org-use-property-inheritance', but `org-entry-get' does if the third parameter is t.
As for querying a header, (org-find-property "ID" ) is an option (value is a string). But you'll probably need Adam Porter's `org-ql' for anything more advanced.
=> More informations about this toot | More toots from sqrtminusone@bsd.cafe
text/gemini
This content has been proxied by September (3851b).