Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-05 Thread Eric Schulte
Hi, This issue is fixed in the "combined-testing" branch of the repository, I hope to merge that branch into the master branch soon. If anyone is interested, some of my thoughts on this commit which has caused these couple of recent problems... It seems that by using org-links to find the locati

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Hsiu-Khuern Tang
Hi Eric, Are you also seeing the problem reported at http://thread.gmane.org/gmane.emacs.orgmode/30855? I checked out the latest git version and that problem still exists. I don't know how closely it is related to the problem in this thread, but it was caused by the same commit (efdf78172d9f7c

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Puneeth
Eric, On Mon, Oct 4, 2010 at 8:09 PM, Eric Schulte wrote: > Ok, > > Thanks for your persistence in explaining this to me.  I've just pushed > up a change which should fix this issue. Thanks for the fix. :) I had my reasons for being persistent. org2blog [a client for posting to Wordpress from O

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Eric Schulte
Ok, Thanks for your persistence in explaining this to me. I've just pushed up a change which should fix this issue. Best -- Eric Puneeth writes: > Hi Eric, > > On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte >> I've just tried exporting an org-mode buffer containing babel code >> blocks to a te

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Puneeth
Hi Eric, On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte > I've just tried exporting an org-mode buffer containing babel code > blocks to a temporary file using C-c C-e H, and it worked without > problem.  Could you send me an example org-mode file that throws the > error your described? Have you e

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-04 Thread Eric Schulte
Puneeth writes: > Hi Eric, >> >> You can still export to a temporary buffer (`A' instead of `a', `H' >> instead of `h') ... > > Yes. And this fails when there is an org-babel src block in the buffer. > > -- Puneeth Hi Puneeth, I've just tried exporting an org-mode buffer containing babel code b

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-02 Thread Puneeth
Hi Eric, > > You can still export to a temporary buffer (`A' instead of `a', `H' > instead of `h') ... Yes. And this fails when there is an org-babel src block in the buffer. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send repl

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-02 Thread Sebastian Rose
"Eric Schulte" writes: > 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 th

Re: [Orgmode] bug: babel: Export of temporary buffers fails

2010-10-02 Thread Eric Schulte
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-

[Orgmode] bug: babel: Export of temporary buffers fails

2010-10-02 Thread Puneeth
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 efdf78172d9f7c0070c781d136a