"Dieter Wilhelm, H." <[email protected]> writes:
> Dear (),
>
> I've got a rather long argument list and it doesn't look good to
> supply all the arguments in one line, could somebody please implement
> #+header arguments for #+call like in the following example?
>
> #+header: :var NO=(org-entry-get nil "Report_Dir")
> #+header: :var DIR=(org-attach-dir)
> #+call: ProvideReport()[:results silent]
>
> By the way, is it still true that the number of #+header keywords for
> code blocks is restricted to 5 #+header lines? I think this is also
> an unnecessary restriction.
>
> Thank you very much
>
The #+call: line syntax is a shortened syntax for code blocks. They
recently got #+names, hopefully soon they will get #+header arguments as
well. In the interum, you can always use a code block
#+header: :var NO=(org-entry-get nil "Report_Dir")
#+header: :var DIR=(org-attach-dir)
#+call: ProvideReport()[:results silent]
can be replaced by
#+header: :var NO=(org-entry-get nil "Report_Dir")
#+header: :var DIR=(org-attach-dir)
#+begin_src emacs-lisp :var result=ProvideReport() :results silent
result
#+end_src
Best,
>
> Dieter
> --
> Best wishes
>
> H. Dieter Wilhelm
>
> Darmstadt
> Germany
>
--
Eric Schulte
http://cs.unm.edu/~eschulte