From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: Using property values in source code blocks Date: Tue, 5 Jul 2016 23:10:29 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_ccf92218-9b99-45f9-91cd-f1dc2ae59b54_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKeAV-0008D7-V9 for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 00:10:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKeAR-0005zC-2S for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 00:10:35 -0400 Received: from col004-omc1s18.hotmail.com ([65.55.34.28]:52081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKeAQ-0005z7-S7 for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 00:10:30 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --_ccf92218-9b99-45f9-91cd-f1dc2ae59b54_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I'm aware of passing variables through header arguments=2C and also inserti= ng another source code block using the noweb syntax.=20 I was wondering=2C however=2C would it be possible to directly input values= of properties inside source code blocks? For example=2C * Subtree:PROPERTIES::DUMMY: Value:END: #+BEGIN_SRC {{DUMMY}} <- something like this? #+END_SRC Thank you so much=2CJoon = --_ccf92218-9b99-45f9-91cd-f1dc2ae59b54_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=2C

I'm awa= re of passing variables through header arguments=2C and also inserting anot= her source code block using the noweb syntax. =3B

<= div>I was wondering=2C however=2C would it be possible to directly input va= lues of properties inside source code blocks? For example=2C

=
* Subtree
:PROPERTIES:
:DUMMY: Value
:END:
#+BEGIN_SRC

{{DUMMY}} <= =3B- something like this?

#+END_SRC

Thank you so much=2C
Joon
=
= --_ccf92218-9b99-45f9-91cd-f1dc2ae59b54_--