emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Referring to an Org Babel variable in the invocation arguments t


From: Zack Piper
Subject: Re: [O] 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
User-agent: mu4e 0.9.18; emacs 26.0.50.1

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="X"
    echo ">>>" $x "<<<"
    #+END_SRC


    #+BEGIN_SRC shell :var c="test" y=block-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 ā€˜cā€™ not found in this buffer

Thanks!
Zack



reply via email to

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