emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Nested calls in babel


From: Berry, Charles
Subject: Re: [O] Nested calls in babel
Date: Thu, 12 Sep 2019 17:17:40 +0000

Your example works for me. viz, the call to bar returns "foo" (not nil).

MacOS 10.14.6, Emacs 26.1, org release_9.2.6-534-g6f32e7

HTH,

Chuck

> On Sep 10, 2019, at 12:57 AM, Carlos Sánchez de La Lama <address@hidden> 
> wrote:
> 
> Hi all,
> 
> I am being unable to make nested calls work. Here is a minimal snippet:
> 
> --8<---------------cut here---------------start------------->8---
> #+NAME: foo
> #+BEGIN_SRC emacs-lisp
> "foo"
> #+END_SRC
> 
> #+NAME: bar
> #+CALL: foo()
> 
> #+RESULTS: bar
> : foo
> 
> #+CALL: bar()
> 
> #+RESULTS:
> : nil
> --8<---------------cut here---------------end--------------->8---
> 
> Why does the last call (to bar) return nil instead of the result of bar
> (which is "foo")? Actually, if I remove foo altogether, executing "bar"
> block gives an error, but executing the last call to "bar" still works
> (and still returns nil).
> 
> Are nested calls supported at all?
> 
> Thanks,
> 
> Carlos
> 
> -- 
> Carlos
> 
> 


reply via email to

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