From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: #+header keywords for #+call keyword? Date: Wed, 24 Jul 2013 22:27:46 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1132f610114cb104e247be59 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V25f3-0006Qc-4N for emacs-orgmode@gnu.org; Wed, 24 Jul 2013 16:27:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V25f1-0004vH-9E for emacs-orgmode@gnu.org; Wed, 24 Jul 2013 16:27:49 -0400 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]:48153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V25f1-0004v7-0F for emacs-orgmode@gnu.org; Wed, 24 Jul 2013 16:27:47 -0400 Received: by mail-ee0-f50.google.com with SMTP id d49so471484eek.37 for ; Wed, 24 Jul 2013 13:27:46 -0700 (PDT) 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: dieter@duenenhof-wilhelm.de Cc: "Emacs-orgmode@gnu.org" --001a1132f610114cb104e247be59 Content-Type: text/plain; charset=ISO-8859-1 Dear Dieter Wilhelm, I do not know a way to change the standard properties for a #+CALL construct. However, we recently discussed a problems with tables and source code calls. Sebastien pointed to the following variables. org-babel-default-header-args ((:session . "none") (:results . "replace") (:exports . "code") (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no") (:padnewline . "yes")) org-babel-default-lob-header-args ((:exports . "results")) org-babel-default-inline-header-args ((:session . "none")(:results . "replace")(:exports . "results")) You might want to change org-babel-default-lob-header-args to your needs. That could be done in a small eslip code block within an org-file and might at least helps as a intermediate solution All the best Torsten On 24 July 2013 14:11, Dieter Wilhelm, H. wrote: > 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 > > Dieter > -- > Best wishes > > H. Dieter Wilhelm > > Darmstadt > Germany > > --001a1132f610114cb104e247be59 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear Dieter Wilhelm,
I do not know a way to change the standard properties for a #+CA= LL construct.
However, we recently discussed a problems with table= s and source code calls.
Sebastien pointed to the following variables.

=A0 org-babel-de= fault-header-args=A0
=A0((:session . "none")=20 (:results . "replace") (:exports . "code") (:cache . &q= uot;no") (:noweb .=20 "no") (:hlines . "no") (:tangle . "no") (:pad= newline . "yes"))

=A0org-babel-default-lob-header-args=A0= =A0=A0=A0 ((:exports . "results"))=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0

=A0org-babel-default-inline-header-args=A0 ((:session . "none"= ;)(:results . "replace")(:exports . "results"))
You might want to change org-babel-default-lob-header-args to your = needs.
That could be done in a small eslip code block within an org-file and= might at least helps as a intermediate solution

All the best=

Torsten


On 24 July 2013 14:11, Dieter Wilhelm, H. <dieter@duenenhof-wilh= elm.de> wrote:
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=3D(org-entry-get nil "Report_Dir")
#+header: :var DIR=3D(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? =A0I think this is also
an unnecessary restriction.

Thank you very much

=A0 Dieter
--
Best wishes

=A0 =A0 H. Dieter Wilhelm

Darmstadt
Germany


--001a1132f610114cb104e247be59--