On Fri, 11 Nov 2022 02:28:27 +0000 Ihor Radchenko <yanta...@posteo.net> wrote:
Indeed testing the latest version my previous example didnt create ghost newlines . But with a small diffefence that example that i post below creates a ghost newline. > chomw...@posteo.eu writes: > > > It follows a possible org chunk that reproduce the phantom newlines > > that are created while trying to move a headline from a state where > > there are no newlines between the headers. > > Could you please provide more information? > Which headline should I move to reproduce the problem? > > I tried to move headlines randomly in the attached file (your example) > but I do not see any newlines created. > Creaete 1st level headlines ------- * a$ * b$ * c$ * d$ @ Move point after headline c ------ * a$ * b$ * c@$ * d$ Press enter --------------------- * a$ * b$ * c$ @$ * d$ Creating subheading ----- * a$ * b$ * c$ ** c1@$ * d$ Press enter ----- * a$ * b$ * c$ ** c1$ @$ * d$ Fold c heading ----- * a$ * b$ * @c...$ * d$ move c heading all the way down ----- * a$ * b$ * d$ * @c...$ <---- a yellow rectancle appears! move c heading up ----- * a$ * b$ * @c...$ <--- ghost newline * d$ move c heading again up ----- * a$ * @c...$ * b$ * d$