From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug with M-RET on headline with text below it Date: Mon, 13 Sep 2010 18:46:24 +0200 Message-ID: <874odtbnhb.wl%n.goaziou@gmail.com> References: <49D857BD-2CFC-444B-ACC3-B2A52254280D@yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=36397 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvCB4-0006YD-4e for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 12:46:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvCB2-0001Qo-UY for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 12:46:46 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:44239) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvCB2-0001Qe-QG for emacs-orgmode@gnu.org; Mon, 13 Sep 2010 12:46:44 -0400 Received: by ewy28 with SMTP id 28so3296806ewy.0 for ; Mon, 13 Sep 2010 09:46:43 -0700 (PDT) In-Reply-To: <49D857BD-2CFC-444B-ACC3-B2A52254280D@yahoo.com> 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: Anthony Lander Cc: emacs-orgmode Mode Hello, >>>>> Anthony Lander writes: > 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. This is the expected behavior for M-RET. What you are looking for is C-RET (`org-insert-heading-respect-content'). Regards, -- Nicolas