Re: Get the "closest" property value

2022-10-12 Thread George Mauer
Thanks a lot Ihor, while that doesn't seem to "cascade" upwards, it was enough of a clue to get me there. What i'm looking for is (org-entry-get (point) "workspace-directory" 't) with the third "inherit" parameter set Thanks again! That's going to open up a few new workflows for me. On Wed, Oct 1

Re: Get the "closest" property value

2022-10-12 Thread Ihor Radchenko
George Mauer writes: > If I have a document what looks like the following. What code could I run > for the ??? to get the property value for "workspace-directory" that is > closest in the outline to the location running the code? > > * Top Level > :PROPERTIES: > :workspace-directory: /tmp >

Get the "closest" property value

2022-10-08 Thread George Mauer
If I have a document what looks like the following. What code could I run for the ??? to get the property value for "workspace-directory" that is closest in the outline to the location running the code? * Top Level :PROPERTIES: :workspace-directory: /tmp :END: #+begin_src emacs-lisp