From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Bug: Babel blocks with continuation line at end of block fails to export [7.8.03 (release_7.8.03.542.gdfeac)] Date: Wed, 07 Mar 2012 10:48:15 -0700 Message-ID: <878vjcuwtc.fsf@gmx.com> References: <87ty21lk7d.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Kya-0003jR-UH for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 12:48:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5KyU-0000y3-4f for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 12:48:36 -0500 Received: from mailout-us.gmx.com ([74.208.5.67]:48152) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S5KyT-0000xR-Uc for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 12:48:30 -0500 In-Reply-To: <87ty21lk7d.fsf@norang.ca> (Bernt Hansen's message of "Tue, 06 Mar 2012 12:20:54 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org, schulte.eric@gmail.com Hi Bernt, This is a problem with the HTML exporter (notice that export to ASCII works as expected). I can reproduce the problem, but I'm not very familiar with the workings of the exporters, so I can't suggest or implement a fix. Best, Bernt Hansen writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > Hi Eric, > > I ran into a Babel related export problem at work where I took > a single C source line in a block which has a trailing \ for a > continuation character like the following example. > > ,----[ test.org ] > | * Text export > | #+begin_src c > | #define FOO bar \ > | #+end_src > `---- > > If I try to export this file I get a "Beginning of buffer" error and > the export fails. I can fix it by removing the trailing \ or adding > another line to the end of the block. > > This took a while to find in my huge work org file by manually selecting > headings to export until I found the problem block. I think babel > should probably handle this more gracefully (if possible) and just > ignore the error and continue. > > Thanks for all your great work!! > > Regards, > Bernt > > > Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) > of 2010-12-11 on raven, modified by Debian > Package: Org-mode version 7.8.03 (release_7.8.03.542.gdfeac) > -- Eric Schulte http://cs.unm.edu/~eschulte/