From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] Bug: Export code block before first heading Date: Fri, 20 Nov 2009 19:40:08 -0700 Message-ID: References: <20091121030550.6da21dd3.andy13@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBfte-0004E7-SV for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 21:40:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBfta-0004Df-IB for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 21:40:22 -0500 Received: from [199.232.76.173] (port=53665 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBfta-0004Dc-BJ for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 21:40:18 -0500 Received: from mail-yw0-f194.google.com ([209.85.211.194]:37618) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBftZ-0005CJ-UB for emacs-orgmode@gnu.org; Fri, 20 Nov 2009 21:40:18 -0500 Received: by ywh32 with SMTP id 32so9294793ywh.14 for ; Fri, 20 Nov 2009 18:40:17 -0800 (PST) In-Reply-To: <20091121030550.6da21dd3.andy13@gmx.net> (Andreas Burtzlaff's message of "Sat, 21 Nov 2009 03:05:50 +0100") 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: Andreas Burtzlaff Cc: emacs-orgmode@gnu.org Hi Andreas, Thanks for catching this bug, It should now be fixed in the HEAD of the git repo. Best -- Eric Andreas Burtzlaff writes: > Exporting a file with a source block before the first heading, like: > > #+BEGIN_SRC emacs-lisp > > ... > > #+END_SRC > > to html yields the error > "Before first headline at position 3 in buffer org-mode-tmp" > > A backtrace is attached. > > Andreas > > Emacs : GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.6) > of 2009-11-18 on fluxx > Package: Org-mode version 6.33f (release_6.33f.16.ge103) > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode