emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel][patch] BUG in inline source blocks


From: Eric Schulte
Subject: Re: [O] [babel][patch] BUG in inline source blocks
Date: Fri, 27 Jan 2012 16:33:10 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Andreas Leha <address@hidden> writes:

> Martyn Jago <address@hidden> writes:
>
>> Martyn Jago <address@hidden> writes:
>>
>>> Hi,
>>>
>>> Andreas Leha <address@hidden> 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.

Best,

>
> Best,
> Andreas
>
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]