From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: Re: Using property values in source code blocks Date: Wed, 6 Jul 2016 22:50:46 -0500 Message-ID: References: , , , , Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_a963075f-6414-42f9-ba7a-183dacc02176_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL0L1-0006gV-CX for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 23:50:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL0Ku-0005nJ-O5 for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 23:50:54 -0400 Received: from col004-omc3s12.hotmail.com ([65.55.34.150]:61782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL0Ku-0005nD-Ed for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 23:50:48 -0400 In-Reply-To: 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: "Charles C. Berry" Cc: "emacs-orgmode@gnu.org" --_a963075f-6414-42f9-ba7a-183dacc02176_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0A= =0A= =0A= > I have no idea what you are asking. >=20 > > The reason is I have to put those values inside a comment=2C=20 > > so I cannot pass them as variables. >=20 > So your original query about accessing property values from src blocks wa= s=20 > not what you wanted? >=20 > Examples of what one is trying to do - even if they do not work exactly a= s=20 > intended - are often more helpful than verbal explanations of what one=20 > would like to do. >=20 > Chuck >=20 I'm sorry if my explanation was not clear=2C but the original example I pro= vided shows exactly what I wanted to do: * Subtree:PROPERTIES::DUMMY: VALUE:END:#+BEGIN_SRC{{DUMMY}} <- something li= ke this?#+END_SRC Basically=2C I want to replace {{DUMMY}} with VALUE=2C without passing it a= s a variable. So just like <> replacement=2C but with a property val= ue instead of a code block. I get the feeling that this is not possible=2C = but I wanted to ask just in case.=20 Best=2CJoon =0A= = --_a963075f-6414-42f9-ba7a-183dacc02176_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
=0A= =0A= =0A=
>=3B I have no idea what you are asking.
>=3B =
>=3B >=3B The reason is I have to put those values inside a comment= =2C
>=3B >=3B so I cannot pass them as variables.
>=3B
>= =3B So your original query about accessing property values from src blocks = was
>=3B not what you wanted?
>=3B
>=3B Examples of what o= ne is trying to do - even if they do not work exactly as
>=3B intende= d - are often more helpful than verbal explanations of what one
>=3B = would like to do.
>=3B
>=3B Chuck
>=3B

<= /div>
I'm sorry if my explanation was not clear=2C but the original example I provided shows exactly what I wan= ted to do:

* Subtree
:PROPERTIES:
:DUMMY: VALUE
:END:

= #+BEGIN_SRC

{{DUMMY}} <=3B- something like this?
<= div style=3D"line-height: 21.3px=3B color: rgb(68=2C 68=2C 68)=3B font-size= : 15px=3B background-color: rgb(255=2C 255=2C 255)=3B">
#+END_SRC

Basically=2C I want to replace =3B{{DUMMY}} with =3BVALUE=2C without passing it as a variable. So just l= ike <=3B<=3Bnoweb>=3B>=3B replacement=2C but with =3Ba property value&nb= sp=3Binst= ead of a code block. =3B
I get the feeling that this is not possible=2C but I wanted to ask j= ust in case. =3B
<= br>
Best=2C=
Joon


=
=0A=
= --_a963075f-6414-42f9-ba7a-183dacc02176_--