[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel-insert-result doesn't comma escape properly
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org-babel-insert-result doesn't comma escape properly |
Date: |
Thu, 22 Aug 2019 19:06:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
"Berry, Charles" <address@hidden> writes:
> 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.
Indeed. Fixed.
> 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.
But then, another regression tests fail.
> I do not see why it was needed.
I think it was to store the location of the inner part of the block.
Regards,
--
Nicolas Goaziou