gerard.vermeu...@posteo.net writes: > Below, I show 2 commands to be run with point on a source block. > I expect that those commands modify an Org file identically, but > they do not. It fails when `org-indent-block' is called in a > loop after each `(insert (org-element-interpret-data copy))' and > it works when `org-indent-block' is called in a separate loop > after insertion of all `(org-element-interpret-data copy)'s: > ... > Example block: > --- > #+begin_src emacs-lisp > <point> > #+end_src > --- > make-2-indent-fails results in > --- > #+begin_src emacs-lisp > copy 1 > #+end_src
I cannot reproduce. I am seeing make-2-indent-fails results in --- #+begin_src emacs-lisp copy 1 #+end_src #+begin_src emacs-lisp copy 2 #+end_src <point> On the latest main. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>