From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Proposed New Syntax For Calling Code Blocks was: Problem with Babel and sessions Date: Tue, 14 Sep 2010 21:03:30 +0200 Message-ID: <871v8w87wd.fsf@mundaneum.com> References: <87vd6deafb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, "Eric Schulte" wrote: > > #+begin_src emacs-lisp :var results=3DchartPolAngle(pol=3DtableTestBabel)= :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, b= ut > 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=3Dtable= TestBabel) > > 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=3Dtab= leTestBabel Though, I'm almost sure I don't understand the real point and implications = of this discussion, hence... Best regards, Seb --=20 S=C3=A9bastien 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