From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: M-RET and C-RET turn current line of text into a heading? Date: Wed, 15 May 2013 09:54:32 +0200 Message-ID: References: <87r4h83kld.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcWV0-0006rI-7M for emacs-orgmode@gnu.org; Wed, 15 May 2013 03:51:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcWUy-0003Tf-NE for emacs-orgmode@gnu.org; Wed, 15 May 2013 03:51:46 -0400 Received: from mail-forward4.uio.no ([2001:700:100:10::33]:42021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcWUy-0003Mf-C8 for emacs-orgmode@gnu.org; Wed, 15 May 2013 03:51:44 -0400 Received: from exim by mail-out4.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1UcWUL-00005i-Pp for emacs-orgmode@gnu.org; Wed, 15 May 2013 09:51:05 +0200 In-reply-to: <87r4h83kld.fsf@ericabrahamsen.net> 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: Eric Abrahamsen Cc: Bernt Hansen , emacs-orgmode@gnu.org Hi, My user input is partially to blame for this, I think. See toward the end of this thread: http://comments.gmane.org/gmane.emacs.orgmode/69794 I was under the impression that the behavior of M-RET had changed, but I may have given a wrong or incomplete description of the "old behavior" I seemed to remember and wanted back. I agree that the current behavior does not seem ideal either. Here's some more misguided user input: Wouldn't it be intuitive if M-RET at the beginning of a line turned that line into a heading (as it currently does), but M-RET at the end of a line inserted a new heading below (would require a change from the current workings)? Not sure about M-RET somewhere in the middle of a line. Yours, Christian Eric Abrahamsen writes: > For the past couple of weeks I'm finding that both M-RET and C-RET turn > the line under point into a heading, instead of inserting a new heading > elsewhere. This happens with `org-M-RET-may-split-line' set to anything. > > So this: > > #+begin_src org > * Chapter One > :PROPERTIES: > :some_prop: t > :END: > In which not [point is here] very much happens. But this is a further test to see > what happens on multiline text. > #+end_src > > becomes: > > #+begin_src org > * Chapter One > :PROPERTIES: > :some_prop: t > :END: > * In which not very much happens. But this is a further test to see > what happens on multiline text. > #+end_src > > This also happens with emacs -Q. Has no one else seen this? > > Thanks, > Eric