emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Proposed New Syntax For Calling Code Blocks was: Problem with Babel and sessions
Date: Tue, 14 Sep 2010 21:03:30 +0200	[thread overview]
Message-ID: <871v8w87wd.fsf@mundaneum.com> (raw)
In-Reply-To: 87vd6deafb.fsf@gmail.com

Hi Eric,

"Eric Schulte" wrote:
>
> #+begin_src emacs-lisp :var results=chartPolAngle(pol=tableTestBabel) :session testBabel:file
>   results
> #+end_src
>
> [...] That said, I think that we should provide a mechanism for passing
> header arguments through to called code blocks making the original
> functionality you described possible. I'm not sure how best to do that, but
> currently I think we should expand the syntax used to call code blocks to be
> more similar to inline code blocks, s.t. header arguments can be placed
> inside of an optional square bracket section between the name of the code
> block and the arguments. Using this new proposed syntax your example below
> would be written as
>
> #+call: chartPolAngle[:session testBabel :file testBabel.pdf](pol=tableTestBabel)
>
> I'd be interested to hear what the community thinks of this new syntax.

Why not stay as closely as possible to the syntax of the blocks?

Something like:

#+call: chartPolAngle :session testBabel :file testBabel.pdf :var pol=tableTestBabel

Though, I'm almost sure I don't understand the real point and implications of
this discussion, hence...

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      parent reply	other threads:[~2010-09-14 19:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09 15:09 Problem with Babel and sessions Christopher Witte
2010-09-10 18:06 ` Proposed New Syntax For Calling Code Blocks was: " Eric Schulte
2010-09-10 19:58   ` Proposed New Syntax For Calling Code Blocks was Jambunathan K
2010-09-10 21:12     ` Jambunathan K
2010-09-13 12:05   ` Proposed New Syntax For Calling Code Blocks was: Problem with Babel and sessions Christopher Witte
2010-09-18 12:24     ` Eric Schulte
2010-09-14 19:03   ` Sébastien Vauban [this message]

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=871v8w87wd.fsf@mundaneum.com \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).