From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] using #+call for inline results Date: Wed, 22 Jun 2011 22:32:31 -0700 Message-ID: <87sjr1i040.fsf@gmail.com> References: <87mxhaunsi.fsf@ucl.ac.uk> <87mxh9omwb.fsf@gmail.com> <87mxh9pvz8.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZcWu-0001BD-W7 for emacs-orgmode@gnu.org; Thu, 23 Jun 2011 01:32:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZcWs-00018B-Um for emacs-orgmode@gnu.org; Thu, 23 Jun 2011 01:32:40 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:58722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZcWs-00017m-BJ for emacs-orgmode@gnu.org; Thu, 23 Jun 2011 01:32:38 -0400 Received: by pwi12 with SMTP id 12so1253738pwi.0 for ; Wed, 22 Jun 2011 22:32:37 -0700 (PDT) In-Reply-To: <87mxh9pvz8.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 22 Jun 2011 19:22:19 +0100") 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 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 -- Eric Schulte http://cs.unm.edu/~eschulte/