From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Bug: src block asterisk escaping doesn't work anymore Date: Wed, 13 Jul 2016 18:47:58 -0700 Message-ID: References: <20160713154839.09da9e2e@pckr186.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-1802086335-1468460879=:1277" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNVl0-0004hn-1O for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 21:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNVkv-0001k4-TX for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 21:48:05 -0400 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:39670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNVkv-0001k0-KI for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 21:48:01 -0400 In-Reply-To: <20160713154839.09da9e2e@pckr186.mpip-mainz.mpg.de> 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" To: Robert Klein Cc: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1802086335-1468460879=:1277 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 13 Jul 2016, Robert Klein wrote: > Hi, > > When exporting a source block, e.g. > > --- snip (example org file) --- > #+begin_src conf > Test > > ,* asterisk in src block > #+end_src > --- snip --- > > > the escaping of the asterisk does not work. Instead a headline > “asterisk in src block” is created. I don't have `ob-conf', but this: --8<---------------cut here---------------start------------->8--- #+begin_src emacs-lisp :exports both "Test ,* asterisk in src block" #+end_src --8<---------------cut here---------------end--------------->8--- shows the issue. Also, the #+[BEGIN|END]_SRC parts of the src block are showing up in the export. Putting `org-escape-code-in-string' back in `org-babel-exp-code' here : ("body" . ,(org-escape-code-in-string (nth 1 info))) seems to fix this as long as there is a newline after the last #+END_SRC in the buffer. Chuck --0-1802086335-1468460879=:1277--