From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [babel] using #+call for inline results Date: Sat, 25 Jun 2011 20:33:42 +0100 Message-ID: <87vcvtemeh.fsf@ucl.ac.uk> References: <87mxhaunsi.fsf@ucl.ac.uk> <87mxh9omwb.fsf@gmail.com> <87mxh9pvz8.fsf@ucl.ac.uk> <87sjr1i040.fsf@gmail.com> <4E030676.3070504@christianmoe.com> <87hb7ej1pu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaYcB-0007rh-1a for emacs-orgmode@gnu.org; Sat, 25 Jun 2011 15:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaYc8-0006vX-R6 for emacs-orgmode@gnu.org; Sat, 25 Jun 2011 15:33:58 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:52759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaYc8-0006ua-Ey for emacs-orgmode@gnu.org; Sat, 25 Jun 2011 15:33:56 -0400 In-Reply-To: <87hb7ej1pu.fsf@gmail.com> (Eric Schulte's message of "Fri, 24 Jun 2011 15:36:19 -0700") 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: Eric Schulte Cc: emacs-orgmode@gnu.org, mail@christianmoe.com Eric Schulte writes: > Christian Moe writes: > >> +1 for inline calls. No hurry, though. >> > > I've just pushed up an implementation for inline call blocks, the new > syntax is described in the documentation but a simple example is below. > > #+source: square > #+begin_src emacs-lisp :var it=0 > (* it it) > #+end_src > > Here is a call_square(it=4) stuck in the middle of some prose. > > Please let me know how it works and if you have any problems or > recommendations. > > Cheers -- Eric Eric, I haven't done much testing but it does seem to work very nicely and, in fact, doesn't have the problem I had with using src_xxx{} in a list. Brilliant! Many thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.443.gf4a7e.dirty)