emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Torsten Wagner <torsten.wagner@gmail.com>
To: dieter@duenenhof-wilhelm.de
Cc: "Emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: #+header keywords for #+call keyword?
Date: Wed, 24 Jul 2013 22:27:46 +0200	[thread overview]
Message-ID: <CAPaq-gNLxKZU-p_NuqcO74H49iY-X_05rVAvM-r+=r=e+p_mEQ@mail.gmail.com> (raw)
In-Reply-To: <CAPM452p8JWsZUnmXj45jHk=NWM-n=3yb5kPMYyuR0iWAAWodmg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]

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. <dieter@duenenhof-wilhelm.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=(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
>
>

[-- Attachment #2: Type: text/html, Size: 2323 bytes --]

  reply	other threads:[~2013-07-24 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24 12:11 #+header keywords for #+call keyword? Dieter Wilhelm, H.
2013-07-24 20:27 ` Torsten Wagner [this message]
2013-07-24 22:35 ` Eric Schulte
2013-07-25  6:31   ` Dieter Wilhelm
2013-07-25 13:37     ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPaq-gNLxKZU-p_NuqcO74H49iY-X_05rVAvM-r+=r=e+p_mEQ@mail.gmail.com' \
    --to=torsten.wagner@gmail.com \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).