From mboxrd@z Thu Jan 1 00:00:00 1970 From: "O.Hamann" Subject: [babel] is there a chance to split arguments in src block calls or noweb syntax Date: Sun, 31 Jan 2016 09:30:07 +0100 Message-ID: <56ADC60F.5080404@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPnOh-0000RI-HR for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 03:30:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPnOc-0000d1-GR for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 03:30:15 -0500 Received: from mout.gmx.net ([212.227.15.18]:53926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPnOc-0000cx-6V for emacs-orgmode@gnu.org; Sun, 31 Jan 2016 03:30:10 -0500 Received: from [10.0.2.15] ([77.47.5.133]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LpL4H-1ZtV2r0L13-00f6oS for ; Sun, 31 Jan 2016 09:30:08 +0100 In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, Splitting header arguments for source blocks into different lines works very fine, (and leads one to put more and more args in the header... ) Is there a chance or trick to do similarly when calling such src blocks? Somehow like in shell scripts a backslash at the end of a line will signal continuation? (example see below) Any suggestions or workarounds or best-practices to make the call lines better readable and editable are welcome! Kind regards, Olaf What I mean: #+NAME: namedSrcBlock #+HEADER: :var arg1="val for arg1" #+HEADER: :var arg2="val for arg2" ... #+HEADER: :var argN="val for argN" #+BEGIN_SRC ... #+END_SRC results in long call lines for #CALL: or noweb syntax hard to edit #+CALL: namedSrcBlock(arg1="long argument value",arg2="even longer argument value",...,argN="many args later ") <> How to split those long lines, so that each arg-value pair stands on its own line? The 'orgish' way would be sth like this, I guess: #+CALL namedSrcBlock #+ARGS: :arg arg1="..:" #+ARGS: :arg arg2="..." #+CALL_END in noweb ref might be <> But I did not find such anywhere.