[Top][All Lists]

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

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

From: Eric Schulte
Subject: Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks
Date: Sat, 23 Nov 2013 12:28:31 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>> Indeed the fix was to set this element of info to point to the front of
>> the inline src block.  I imagine that you probably don't have the
>> patched version of the relevant function loaded.  Please try M-x
>> describe-function on org-babel-get-src-block-info, then jump to the
>> definition of said function where you should see the following code
>> which now sets the location of the inline src block head into the last
>> element of the info list.
>>       ;; inline source block
>>       (when (org-babel-get-inline-src-block-matches)
>>      (setq head (match-beginning 0))
>>      (setq info (org-babel-parse-inline-src-block-match))))
> That _is_ what I had loaded, but ...
> org-babel-get-src-block-info is *not* *called* for inline src blocks.
> org-babel-exp-non-block-elements doesn't call org-babel-get-src-block-info.
> Instead, it has this
>  (let* ((info (org-babel-parse-inline-src-block-match))
> for inline src blocks.
> So changing org-babel-get-src-block-infodoes not fix the inline src block
> issue.

Oh, I was testing with interactive evaluation, not export.  I've just
pushed up another fix which should fix this for export too.

Thanks again,

Eric Schulte
PGP: 0x614CA05D

reply via email to

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