From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Piper <zack@apertron.net> Subject: Re: Referring to an Org Babel variable in the invocation arguments to another Org Babel code block Date: Tue, 27 Dec 2016 18:17:52 +0000 Message-ID: <87h95p1bm2.fsf@apertron.net> References: <87inq51q4o.fsf@apertron.net> <alpine.OSX.2.20.1612270940300.729@charles-berrys-macbook.local> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([2001:4830:134:3::10]:43303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <zack@apertron.net>) id 1cLwNn-0001Mv-6Q for emacs-orgmode@gnu.org; Tue, 27 Dec 2016 13:21:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <zack@apertron.net>) id 1cLwNj-0000gc-W5 for emacs-orgmode@gnu.org; Tue, 27 Dec 2016 13:21:55 -0500 Received: from apertron.net ([137.74.201.49]:44950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <zack@apertron.net>) id 1cLwNj-0000gM-PG for emacs-orgmode@gnu.org; Tue, 27 Dec 2016 13:21:51 -0500 In-reply-to: <alpine.OSX.2.20.1612270940300.729@charles-berrys-macbook.local> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode/> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> To: "Charles C. Berry" <ccberry@ucsd.edu> Cc: Zack Piper <zack@apertron.net>, emacs-orgmode <emacs-orgmode@gnu.org> Hi Charles, I think I found precisely the issue I'm having. When I use your example, and adjust it slightly: #+NAME: block-1 #+BEGIN_SRC shell :var x=3D"X" echo ">>>" $x "<<<" #+END_SRC #+BEGIN_SRC shell :var c=3D"test" y=3Dblock-1(c) echo $y #+END_SRC #+RESULTS: : >>> $c <<< I added a reference to an argument defined within the same block. I get the aforementioned error: org-babel-ref-resolve: Reference =E2=80=98c=E2=80=99 not found in this buff= er Thanks! Zack