emacs-orgmode
[Top][All Lists]
Advanced

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

Re: How is the return value of `org-babel-execute:FOO` interpreted?


From: Kodi Arfer
Subject: Re: How is the return value of `org-babel-execute:FOO` interpreted?
Date: Sun, 3 Oct 2021 08:03:26 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 2021 Oct 03 Sun 5:38:10 AM -0400, Ihor Radchenko <yantar92@gmail.com> wrote:
Kodi Arfer <listu@arfer.net> writes:
I have an `org-babel-execute` function for the Hy programming
language that seems to have partly broken when I upgraded Org (from
9.1.14 to 9.4.6). …

I just tested using ob-gnuplot and :file link is correctly inserted when
org-babel-execute:gnuplot returns nil.

Are you sure that you have :file parameter in the source block you tried
to execute?

Yes, this is my code block:

#+begin_src hy :file g/foo.png
(plt.scatter [1 2 3] [4 5 -9])
#+end_src

And it looks like `org-babel-execute:hy` is indeed receiving the argument, since `(message 
"%s" (assq :file (org-babel-process-params params)))` prints "(:file . 
g/foo.png)".



reply via email to

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