From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: [babel] using #+call for inline results Date: Thu, 23 Jun 2011 11:25:10 +0200 Message-ID: <4E030676.3070504@christianmoe.com> References: <87mxhaunsi.fsf@ucl.ac.uk> <87mxh9omwb.fsf@gmail.com> <87mxh9pvz8.fsf@ucl.ac.uk> <87sjr1i040.fsf@gmail.com> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZg8s-0001yW-JJ for emacs-orgmode@gnu.org; Thu, 23 Jun 2011 05:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZg8q-00065i-2C for emacs-orgmode@gnu.org; Thu, 23 Jun 2011 05:24:06 -0400 Received: from mars.hitrost.net ([91.185.211.18]:47799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZg8p-00061U-GN for emacs-orgmode@gnu.org; Thu, 23 Jun 2011 05:24:03 -0400 In-Reply-To: <87sjr1i040.fsf@gmail.com> 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 +1 for inline calls. No hurry, though. Yours, Christian On 6/23/11 7:32 AM, Eric Schulte wrote: > Eric S Fraga writes: > >> Eric Schulte writes: >> >>> Hi Eric, >> >> Hi Eric! ;-) >> >>> So the problem is that the results are inserted as a separate block, >>> when you want them to be inserted inline? If so perhaps using an >>> "inline" block http://orgmode.org/manual/Structure-of-code-blocks.html >>> would result in the desired behavior. >>> >>> Please let me know if I've misunderstood the question. >> >> Yes and no. I *do* want the effect that is achieved by using an inline >> block but I do *not* want to write the whole block inline > > I find the following pattern > > #+source: big-block > #+begin_src emacs-lisp :exports none > "something complex" > #+end_src > > Here is some text with src_emacs-lisp[:var it=big-block]{it} in the > middle. > > to be helpful in these situations. > >> as that can be difficult to do or, at the very best, hard to read even >> if possible... I would like to invoke/evaluate, inline, a particular >> source code block with a specific value of an argument. >> >> From the documentation, I don't see how to "call" a src block inline. >> That's why I thought of using =#+call=. Am I missing something? >> > > nope, there is no way to issue an in-line call, although maybe this > wouldn't be the worst idea if only for the added brevity over an inline > code block. > > I'll put it on my long-term low-priority stack. :) > > Cheers -- Eric > >> >> Thanks, >> eric >