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 ")
<<namedSrcBlock(arg1="....",....,argN="...")>>
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
<<namedSrcBlock(arg1="long argument value",\\SPACE
arg2="even longer argument value",\\SPACE
... \\SPACE
argN="many args later")>>
But I did not find such anywhere.