emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Skip Collins <skip.collins@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: source block name contains "call"
Date: Fri, 17 Mar 2017 21:06:27 -0400	[thread overview]
Message-ID: <CABUh-75sKNQGiFUR3-hrWFSaO4VDokBC-E-UySBgH5Bo4vP2jA@mail.gmail.com> (raw)

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.

             reply	other threads:[~2017-03-18  1:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-18  1:06 Skip Collins [this message]
2017-03-18  9:36 ` source block name contains "call" Nicolas Goaziou
2017-03-18 17:47   ` Skip Collins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABUh-75sKNQGiFUR3-hrWFSaO4VDokBC-E-UySBgH5Bo4vP2jA@mail.gmail.com \
    --to=skip.collins@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).