On Wed, 6 Jul 2016, Joon Ro wrote:


Yes. `org-property-values' does the trick


* Subtree
:PROPERTIES:
:DUMMY: Value
:END:

#+BEGIN_SRC shell :var dumdum=(car (org-property-values "DUMMY"))
echo $dumdum
#+END_SRC

[deleted]


Thank you so much for the reply - this would be very useful. Would there be, however, a way to directly replace some place holder inside a source code block?

I have no idea what you are asking.

The reason is I have to put those values inside a comment, so I cannot pass them as variables.

So your original query about accessing property values from src blocks was not what you wanted?

Examples of what one is trying to do - even if they do not work exactly as intended - are often more helpful than verbal explanations of what one would like to do.

Chuck

Reply via email to