From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Mauer Subject: Have :var reference a value Date: Sun, 8 Dec 2019 10:52:59 -0600 Message-ID: Reply-To: gmauer@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002c37950599341d1e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48959) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idzo1-0003cO-9U for emacs-orgmode@gnu.org; Sun, 08 Dec 2019 11:53:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idzo0-0004Ek-9n for emacs-orgmode@gnu.org; Sun, 08 Dec 2019 11:53:13 -0500 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]:40233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idzo0-00046X-2T for emacs-orgmode@gnu.org; Sun, 08 Dec 2019 11:53:12 -0500 Received: by mail-oi1-x22c.google.com with SMTP id 6so4261581oix.7 for ; Sun, 08 Dec 2019 08:53:11 -0800 (PST) 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 --0000000000002c37950599341d1e Content-Type: text/plain; charset="UTF-8" I'm playing around with learning racket in an org buffer and I have a bunch of blocks that look like this #+begin_src racket :var value="abbracadaabra" ...do stuff with value... #+end_src #+begin_src racket :var value="abbracadaabra" ...do other stuff with value... #+end_src Is there a way to move the "abbracadaabra" string into a single location so that I can just pull the var from that? I know I can put it in a table or a list, but how about into a single value? --0000000000002c37950599341d1e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm playing around with learning racket in an org buff= er and I have a bunch of blocks that look like this

=C2= =A0 =C2=A0#+begin_src racket :var value=3D"abbracadaabra"
=C2=A0 =C2=A0...do stuff with value...
=C2=A0 =C2=A0#+end_= src


=C2=A0 =C2=A0#+begin_src r= acket :var value=3D"abbracadaabra"
=C2=A0 =C2=A0...= do other stuff with value...
=C2=A0 =C2=A0#+end_src

Is there a way to move the "abbracadaabra" stri= ng into a single location so that I can just pull the var from that? I know= I can put it in a table or a list, but how about into a single value?
--0000000000002c37950599341d1e--