From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: source block name contains "call" Date: Sat, 18 Mar 2017 10:36:01 +0100 Message-ID: <87efxv3p1a.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpAmP-00010f-9r for emacs-orgmode@gnu.org; Sat, 18 Mar 2017 05:36:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpAmK-0001lE-Iu for emacs-orgmode@gnu.org; Sat, 18 Mar 2017 05:36:09 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:49537) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpAmK-0001kx-9y for emacs-orgmode@gnu.org; Sat, 18 Mar 2017 05:36:04 -0400 In-Reply-To: (Skip Collins's message of "Fri, 17 Mar 2017 21:06:27 -0400") 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: Skip Collins Cc: emacs-org list Hello, Skip Collins writes: > I am editing some Perl. When I export any source block that includes > the word "call" in the name, it causes the verbatim formatting to be > dropped. This happens with both html and latex exports. The problem > does not seem to be limited to Perl. A minimal example: > > * foo > > #+name: call_foo > #+begin_src perl > > ## This is a comment #+end_src > > * bar > > #+name: bar > #+begin_src perl > > ## This is a comment > #+end_src > > The code under the first heading is exported as normal org text, > omitting the #+name and #+begin_src lines, but including the #+end_src > line. The second heading is exported as expected, with the source > block properly formatted verbatim. The word "call" seems to be the > trigger for the bad behavior. This reminds me of https://www.xkcd.com/327/ Fixed. Thank you. Regards, -- Nicolas Goaziou