Hi James, James Harkins <jamshar...@gmail.com> writes:
> One concern: When you tested with C-u C-RET, was the point on a > hidden headline? Yes. > The problem only occurs if the current heading is > folded up underneath a parent heading. AFAIK cursor movement in > org-mode ensures that the point is never on invisible text, which is > why I wrote a short lisp function to demonstrate. It seems to me the > issue reproduces only when calling org-insert-heading > non-interactively, then, so I wanted to check if your test reproduces > the problem without the patch. Looking forward reading your feedback on this! -- Bastien