I thought it would get lost in the many thousands of other TODOs you have on your plate.
Thank you.

But to my another surprise you have fixed the bug that was killing me everyday 'org-insert-heading: Fix when folded text is kept right at the new heading'. 
Thank you very much.

Regards,
Sławomir Grochowski
 

On Sun, Aug 20, 2023 at 12:43 PM Ihor Radchenko <yantar92@posteo.net> wrote:
Ihor Radchenko <yantar92@posteo.net> writes:

> I suspect that it is something with overlay boundaries. AFAIR, some org
> subtree motion functions use `insert-before-markers', which may be
> tricky when we insert right at the beginning/end of an overlay.

It was totally unrelated bug on Org side.
Applied, onto main, with minor amendments to function docstring and
changelog format.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=650e42996
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e08d87831

--
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>