From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Inserted Heading Starts on Prior Heading's Fold Mark Date: Tue, 07 Apr 2015 01:41:45 +0200 Message-ID: <874mosrfie.fsf@nicolasgoaziou.fr> References: <87bnj1uqzw.wl-ded-law@ddoherty.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfGd8-0005gH-In for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 19:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfGd5-00068s-MB for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 19:40:34 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:42673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfGd5-00068g-Db for emacs-orgmode@gnu.org; Mon, 06 Apr 2015 19:40:31 -0400 In-Reply-To: <87bnj1uqzw.wl-ded-law@ddoherty.net> (Daniel E. Doherty's message of "Mon, 06 Apr 2015 12:05:23 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Daniel E. Doherty" Cc: emacs-orgmode@gnu.org Hello, Daniel E. Doherty 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