From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [babel][patch] BUG in inline source blocks Date: Sat, 28 Jan 2012 10:28:24 +0100 Message-ID: <87mx985g7b.fsf@med.uni-goettingen.de> References: <87fwf27w67.fsf@med.uni-goettingen.de> <87y5ss6aul.fsf@med.uni-goettingen.de> <87aa58aeyn.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrBr9-00087y-VF for emacs-orgmode@gnu.org; Sat, 28 Jan 2012 12:14:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrBr8-0007la-Nz for emacs-orgmode@gnu.org; Sat, 28 Jan 2012 12:14:27 -0500 Received: from plane.gmane.org ([80.91.229.3]:50595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrBr8-0007lM-IY for emacs-orgmode@gnu.org; Sat, 28 Jan 2012 12:14:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RrBqh-00006C-9G for emacs-orgmode@gnu.org; Sat, 28 Jan 2012 18:13:59 +0100 Received: from vpn-2167.gwdg.de ([134.76.2.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Jan 2012 18:13:59 +0100 Received: from andreas.leha by vpn-2167.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Jan 2012 18:13:59 +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: emacs-orgmode@gnu.org Eric Schulte writes: > Andreas Leha writes: > >> Martyn Jago writes: >> >>> Martyn Jago writes: >>> >>>> Hi, >>>> >>>> Andreas Leha writes: >>>> >>>>> Hi all, >>>>> >>>>> I experience unexpected behaviour when an inline source block is not >>>>> preceded by whitespace. >>>>> >>>>> Example: >>>>> ======================= >>>>> * Test inline >>>>> This is a functional inline src_R{print("source block")}. >>>>> >>>>> This (src_R{print("here")}) is not. >>>>> ======================= >>>>> >>>>> Regards, >>>>> Andreas >>>> >>>> I can confirm this behaviour and provide a patch to allow for inline >>>> source blocks to be preceded by punctuation, or, for instance, enclosed >>>> in parenthesis, as in Andreas' example. Patch is attached for >>>> consideration. >>>> >>>> Best, Martyn >>> >>> This is an updated version of the previous patch, with debug noise >>> removed, and a couple of extra tests. >>> >>> Best, Martyn >> > > Thanks for this patch Martyn, I just pushed up your [:punct:] change. > >> >> Hi Martyn, >> >> thanks for this patch! It does half the job for me. Now export (or >> evaluation) already work. But in the export I get a space inserted. >> >> I my example, I'd expect "(here)" to appear in the export, but I get >> "( here)". >> > > This should now be fixed. > Thanks, Martyn and Eric! Indeed "both" issues are fixed now. Regards, Andreas