From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Lander Subject: Bug with M-RET on headline with text below it Date: Mon, 13 Sep 2010 12:11:24 -0400 Message-ID: <49D857BD-2CFC-444B-ACC3-B2A52254280D@yahoo.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37262 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvBcx-0007HP-2h for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 12:11:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvBct-0003kI-0d for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 12:11:30 -0400 Received: from smtp109.prem.mail.ac4.yahoo.com ([76.13.13.92]:48300) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OvBcs-0003k7-TA for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 12:11:26 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode Mode Hi Nicolas, On the latest git pull, Org-mode version 7.01trans (release_7.01h. 500.gbbac.dirty), I encountered a problem with M-RET. When on a headline with text below it, M-RET will insert a new heading after the current heading, but before the text. So starting with the following org file, and the cursor at the vertical bar: <------------------------- * Heading 1| This is some text under Heading 1 <------------------------- Pressing M-RET results in the following: <------------------------- * Heading 1 * | This is some text under Heading 1 <------------------------- I would have expected <------------------------- * Heading 1 This is some text under Heading 1 * | <------------------------- Thanks, - Anthony