[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Using property values in source code blocks

From: Charles C. Berry
Subject: Re: [O] Using property values in source code blocks
Date: Wed, 6 Jul 2016 16:05:50 -0700
User-agent: Alpine 2.20 (OSX 67 2015-01-07)

On Wed, 6 Jul 2016, Joon Ro wrote:

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

* Subtree
:DUMMY: Value

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


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]