emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Berry <ccberry@ucsd.edu>
To: emacs-orgmode@gnu.org
Subject: bug in exporter (org-babel-exp-process-buffer)
Date: Tue, 10 Jun 2014 00:22:37 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140610T020821-292@post.gmane.org> (raw)



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 <schulte.eric@gmail.com>
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	other threads:[~2014-06-10  0:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10  0:22 Charles Berry [this message]
2014-06-10 20:00 ` bug in exporter (org-babel-exp-process-buffer) Nicolas Goaziou
2014-06-10 21:11   ` Charles C. Berry
2014-06-11 20:15     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140610T020821-292@post.gmane.org \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).