[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-babel-insert-result doesn't comma escape properly
From: |
Berry, Charles |
Subject: |
[O] org-babel-insert-result doesn't comma escape properly |
Date: |
Wed, 21 Aug 2019 23:28:40 +0000 |
Here is an ECM:
#+begin_src emacs-lisp :wrap example
"line 1
,* headline 2
,* headline 3
,* headline 4
,* headline 5
"
#+end_src
With today's master, the last `headline' is not escaped in the example block
this produces when executed.
It seems to me that dropping the let binding for `before-finish' and placing
(unless no-escape
(org-escape-code-in-region
beg end))
before the insertions of 'start' and 'finish' should handle this properly. And
trying that on the above ECM gives the right result.
That let binding was introduced in
commit 24a76fbe572923c55774bc9f8ecc8e6d1c7ff16d
Author: Nicolas Goaziou <address@hidden>
Date: Sun Aug 13 16:20:20 2017 +0200
I do not see why it was needed.
Best,
Chuck
- [O] org-babel-insert-result doesn't comma escape properly,
Berry, Charles <=