emacs-orgmode
[Top][All Lists]
Advanced

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

[O] bug in exporter (org-babel-exp-process-buffer)


From: Charles Berry
Subject: [O] bug in exporter (org-babel-exp-process-buffer)
Date: Tue, 10 Jun 2014 00:22:37 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)


The use of `org-confirm-babel-evaluate' as a function breaks inline src 
blocks just as was described in this thread from last year:

http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00669.html

I believe that the patch by Eric Schulte in 


===
commit 6a4dfd318296925b3b895ca6ab85e31309acf84d
Author: Eric Schulte <address@hidden>
Date:   Sat Nov 23 12:24:34 2013 -0700


    fixed export of inline src blocks
    
    * lisp/ob-exp.el (org-babel-exp-non-block-elements): Fixed export of
      inline src blocks.
===

did the right thing back then, but the function to which it was applied was
removed later on,

I think org-babel-exp-process-buffer took over the work of the 
removed function.

I believe that Eric's patch or something like it would fix the current 
problem in org-babel-exp-process-buffer:

       (inline-src-block
-       (let* ((info (org-babel-parse-inline-src-block-match))
+       (let* ((head (match-beginning 0))
+              (info (append (org-babel-parse-inline-src-block-match)
+                            (list nil nil head)))
               (params (nth 2 info)))
          (setf (nth 1 info)

Can this be fixed, please?

Thanks,

Chuck





reply via email to

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