From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: [babel] using #+call for inline results Date: Mon, 27 Jun 2011 21:01:02 +0200 Message-ID: <4E08D36E.9030302@christianmoe.com> 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> <4E071E71.4060804@christianmoe.com> <87vcvsruzs.fsf@gmail.com> <4E082041.6080709@christianmoe.com> <87y60n5fvx.fsf@counsyl.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]:55511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbH1j-0003Wb-GW for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 14:59:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbH1i-00019a-7e for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 14:59:19 -0400 Received: from mars.hitrost.net ([91.185.211.18]:20751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbH1h-00019N-P0 for emacs-orgmode@gnu.org; Mon, 27 Jun 2011 14:59:17 -0400 In-Reply-To: <87y60n5fvx.fsf@counsyl.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 Hi, Yes, these all checked out (assuming you meant the second one /should/ be exported -- as quoted code -- but not evaluated). This is a nice addition, and rather cleaner and more intuitive than the workarounds I've been playing with. (Faking an inline call to block A with an inline src block B that takes a variable from calling A in the header args, and shortening it with a macro that expands to B...) Yours, Christian On 6/27/11 7:43 PM, Eric Schulte wrote: > I believe that I have fixed these > issues. The following examples should now all export as described. > > --8<---------------cut here---------------start------------->8--- > The following exports as a normal call line > #+call: double(it=1) > > Now here is an inline call call_double(it=1) stuck in the middle of > some prose. > > This one should not be exported =call_double(it=2)= because it is > quoted. > > Finally this next one should export, even though it starts a line > call_double(it=3) because sometimes inline blocks fold with a > paragraph. > > And, a call with raw results call_double(4)[:results raw] should not > have quoted results. > --8<---------------cut here---------------end--------------->8---