From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: org-babel-execute-src-block on +#CALL statement? Date: Sat, 12 Jan 2019 19:53:29 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_DM5PR15MB141817667B3F5999F8DB31D7EB860DM5PR15MB1418namp_" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giPLf-0003bM-1Z for emacs-orgmode@gnu.org; Sat, 12 Jan 2019 14:53:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giPLc-0005Pz-VM for emacs-orgmode@gnu.org; Sat, 12 Jan 2019 14:53:38 -0500 Received: from mail-oln040092000041.outbound.protection.outlook.com ([40.92.0.41]:34745 helo=NAM01-BN3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1giPLc-0005Kx-02 for emacs-orgmode@gnu.org; Sat, 12 Jan 2019 14:53:36 -0500 Content-Language: en-US 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" --_000_DM5PR15MB141817667B3F5999F8DB31D7EB860DM5PR15MB1418namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Eventually I would like to batch-run a src block in a command line. While i= nvestigating it, I found that org-babel-execute-src-block throws "Wrong typ= e argument: consp, nil" error when I run it over a #+CALL statement. For ex= ample, I can run the test src block below but it fails when the cursor is o= n the #+CALL block. #+NAME: test #+BEGIN_SRC emacs-lisp (message "Success") #+END_SRC #+RESULTS: test : Success #+CALL: test() I was wondering if this is a bug, and if there is any way I can run #+CALL = statement (preferably in the batch mode)? Best, Joon --_000_DM5PR15MB141817667B3F5999F8DB31D7EB860DM5PR15MB1418namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

Eventually I would like to batch-run a src block in a command line. While i= nvestigating it, I found that org-babel-execute-src-block throws "= ;Wrong type argument: consp, nil" error when I run it over a #+CAL= L statement. For example, I can run the test src block below but it fails when the cursor is on the #+CALL block.

#+NAME: test
#+BEGIN_SRC emacs-lisp
(message "Success")
#+END_SRC

#+RESULTS: test
: Success

#+CALL: test()


I was wondering if this is a bug, and if there is any way I can run #&= #43;CALL statement (preferably in the batch mode)?

Best,
Joon


--_000_DM5PR15MB141817667B3F5999F8DB31D7EB860DM5PR15MB1418namp_--