Eric Schulte <schulte.e...@gmail.com> writes: > "Dieter Wilhelm, H." <die...@duenenhof-wilhelm.de> 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
I see, thank you, your suggestion is a already a good workaround for my needs. :-) Could you please also tell me whether you know of any restrictions concerning the number of #+header lines before a code block? -- Best wishes H. Dieter Wilhelm Darmstadt Germany