[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] bug: babel: Export of temporary buffers fails
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] bug: babel: Export of temporary buffers fails |
Date: |
Sat, 02 Oct 2010 11:21:36 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Hi Puneeth,
I believe that export is only allowed from buffers visiting files, when
I tried to reproduce your problem exporting from a buffer without a file
name I get the following error message
(error "Need a file name to be able to export")
which is thrown by org-latex, org-docbook, or org-html on attempted
export.
Unless I'm missing something, it is not a problem that Babel expects
org-current-export-file to have a value.
Best -- Eric
Puneeth <address@hidden> writes:
> 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 <address@hidden>
> 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
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- [Orgmode] bug: babel: Export of temporary buffers fails, Puneeth, 2010/10/02
- Re: [Orgmode] bug: babel: Export of temporary buffers fails,
Eric Schulte <=
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Sebastian Rose, 2010/10/02
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Puneeth, 2010/10/02
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Eric Schulte, 2010/10/04
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Puneeth, 2010/10/04
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Eric Schulte, 2010/10/04
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Puneeth, 2010/10/04
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Hsiu-Khuern Tang, 2010/10/04
- Re: [Orgmode] bug: babel: Export of temporary buffers fails, Eric Schulte, 2010/10/05