From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug (or at least a trap) in exporting #+begin_src blocks Date: Wed, 26 Feb 2014 15:08:30 +0100 Message-ID: <877g8it19d.fsf@gmail.com> References: <530AA7FE.1020002@massey.ac.nz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIf9j-0007gB-KD for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 09:08:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIf9c-0004ef-68 for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 09:08:15 -0500 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:36298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIf9b-0004eY-Vc for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 09:08:08 -0500 Received: by mail-wi0-f169.google.com with SMTP id e4so5657258wiv.2 for ; Wed, 26 Feb 2014 06:08:07 -0800 (PST) In-Reply-To: <530AA7FE.1020002@massey.ac.nz> (Giovanni Moretti's message of "Mon, 24 Feb 2014 15:01:34 +1300") 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: Giovanni Moretti Cc: orgmode mailing list Hello, Giovanni Moretti writes: > Could I ask that an error message be generated for this? The problem is that is a valid Org syntax (though different than the one you expect), so it isn't an error /per se/. So, the parser will not generate an error for this. > While not strictly a bug, it's an insidious trap given that the > in-buffer expansion (C-c C-c) runs and inserts the results as > expected. I hope that, one day, Babel will rely on the same parser as the export framework. Until then, (minor) discrepancies are to be expected. Regards, -- Nicolas Goaziou