From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] in `org-element-interpret-data' Date: Thu, 07 Aug 2014 14:58:44 +0200 Message-ID: <87sil8mp6j.fsf@nicolasgoaziou.fr> References: <87iom4acf1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFNGn-0002yX-1F for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 08:58:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFNGc-0005QG-TI for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 08:58:12 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:59717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFNGc-0005Pu-NX for emacs-orgmode@gnu.org; Thu, 07 Aug 2014 08:58:02 -0400 In-Reply-To: <87iom4acf1.fsf@gmail.com> (Thorsten Jolitz's message of "Thu, 07 Aug 2014 11:15:14 +0200") 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: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Hello, Thorsten Jolitz writes: > when interpreting Org elements (type src-block) I frequently encounter > the case that the '#+end_src' delimter is not placed on a newline but > rather attached to the src-block's value without a linefeed in > between. `org-element-src-block-parser' always add a final newline to the source code. As a consequence `org-element-src-block-interpreter' expects it. Anyway, it doesn't hurt to tolerate missing final newlines. I added the feature. Thank you for suggesting it. Regards, -- Nicolas Goaziou