From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Robert Klein <roklein@roklein.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: src block asterisk escaping doesn't work anymore
Date: Wed, 13 Jul 2016 18:47:58 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1607131833420.1277@charles-berrys-macbook.local> (raw)
In-Reply-To: <20160713154839.09da9e2e@pckr186.mpip-mainz.mpg.de>
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
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
next prev parent reply other threads:[~2016-07-14 1:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 13:48 Bug: src block asterisk escaping doesn't work anymore Robert Klein
2016-07-14 1:47 ` Charles C. Berry [this message]
2016-07-16 19:12 ` PATCH for " Robert Klein
2016-07-17 10:22 ` Nicolas Goaziou
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=alpine.OSX.2.20.1607131833420.1277@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=roklein@roklein.de \
/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).