emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] source block name contains "call"


From: Nicolas Goaziou
Subject: Re: [O] source block name contains "call"
Date: Sat, 18 Mar 2017 10:36:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Skip Collins <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]