Hello, Daniel E. Doherty <ded-...@ddoherty.net> writes:
> I don't know when this started, but recently I've seen the following annoying > behavior from M-RET in org files. > > Here is a minimal file to demonstrate what I'm seeing lately: > > ============================== demo.org ============================== > * First Header > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod > tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim > veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea > commodo consequat. Duis aute irure dolor in reprehenderit in voluptate > velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint > occaecat cupidatat non proident, sunt in culpa qui officia deserunt > mollit anim id est laborum. > > * Second Header > ======================================================================= > > When the headings are completely folded, I see the following, as expected: > > ============================== demo.org ============================== > * First Header... > ^* Second Header > ======================================================================= > > With my cursor on the ^, I hit M-RET to insert a new heading between "First > Header" and "Second Header", and I get the following: > > ======================================================================= > > When the headings are completely folded, I see the following, as expected: > > ============================== demo.org ============================== > * First Header...* ^ > * Second Header > ======================================================================= Fixed in edeb7fd8e17733cc516fbb6620a21092bac0d765. Thank you. Regards, -- Nicolas Goaziou