From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: bug: babel: Export of temporary buffers fails Date: Mon, 04 Oct 2010 08:39:40 -0600 Message-ID: <87iq1i6lsf.fsf@gmail.com> References: <87mxqwik7z.fsf@gmail.com> <87bp7cbd16.fsf@gmx.de> <87ocba9k37.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=43203 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2mbV-0006O3-K4 for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 11:05:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2mbU-0000Cr-FY for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 11:05:25 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:40629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2mbU-0000Ch-9r for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 11:05:24 -0400 Received: by gxk24 with SMTP id 24so2571225gxk.0 for ; Mon, 04 Oct 2010 08:05:23 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Puneeth Cc: emacs-orgmode 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 temporary file using C-c C-e H, and it worked without >> problem. =C2=A0Could you send me an example org-mode file that throws the >> error your described? > > Have you exported from a temporary buffer? or a buffer visiting a file? > > To reproduce the error that I get, > > 1. Switch to scratch buffer (or a new temporary buffer) > 2. M-x org-mode to change the mode to Org-mode > 3. Yank the following text into it > ----------------------------------------- > * Hello World > #+begin_src python > print "Hello, World" > #+end_src > ----------------------------------------- > 4. C-c C-e H > > You should get the error > set-buffer: Wrong type argument: stringp, nil > > HTH, > Puneeth