emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: babel: Export of temporary buffers fails
@ 2010-10-02 16:30 Puneeth
  2010-10-02 17:21 ` Eric Schulte
  0 siblings, 1 reply; 10+ messages in thread
From: Puneeth @ 2010-10-02 16:30 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Export of temporary buffers with babel src blocks fails.

Line 118 of ob-exp.el has

(set-buffer (get-file-buffer org-current-export-file))

But the value of org-current-exp-file is nil for a temporary buffer.

The following commit brought in that change.

commit efdf78172d9f7c0070c781d136a9b49a2a56fcc4
Author: Eric Schulte <schulte.eric@gmail.com>
Date:   Sat Sep 18 19:01:49 2010 -0600

    ob-exp: resolving code block parameters in the original file on export

    * lisp/ob-exp.el (org-babel-exp-src-blocks): now switching back to the
      original file before resolving code block parameters to ensure
      headline and buffer wide parameters are taken into consideration
      when only a narrowed portion of the file is exported


HTH,

Puneeth

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-05 17:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-02 16:30 bug: babel: Export of temporary buffers fails Puneeth
2010-10-02 17:21 ` Eric Schulte
2010-10-02 19:38   ` Sebastian Rose
2010-10-03  3:37     ` Puneeth
2010-10-04 13:13       ` Eric Schulte
2010-10-04 13:59         ` Puneeth
2010-10-04 14:39           ` Eric Schulte
2010-10-04 15:16             ` Puneeth
2010-10-04 17:08             ` Hsiu-Khuern Tang
2010-10-05 17:56               ` Eric Schulte

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).