On Fri, 11 Nov 2022 02:28:27 +0000 Ihor Radchenko <yanta...@posteo.net> wrote:
I found a more minimal issue-reproducer (i add $ because i used M-x whitespace mode . Also @ is point) ; Creaete 1st level headlines ------- * a$ * b$ * c$ * d$ @ Move point after headline d ------ * 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 up ----- * a$ * @c...$ $ <---- a phantom(?) 'newline' * b$ * d$ > 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. >