From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: M-RET and C-RET turn current line of text into a heading? Date: Mon, 20 May 2013 10:54:50 -0500 Message-ID: References: <87r4h83kld.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeSQL-0008LA-AW for emacs-orgmode@gnu.org; Mon, 20 May 2013 11:54:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeSQJ-0002rC-0n for emacs-orgmode@gnu.org; Mon, 20 May 2013 11:54:57 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:35223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeSQI-0002qV-PU for emacs-orgmode@gnu.org; Mon, 20 May 2013 11:54:54 -0400 Received: by mail-lb0-f176.google.com with SMTP id x10so6714125lbi.35 for ; Mon, 20 May 2013 08:54:50 -0700 (PDT) In-Reply-To: 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: Christian Moe Cc: Eric Abrahamsen , Bernt Hansen , emacs-orgmode On Wed, May 15, 2013 at 2:54 AM, Christian Moe wrote: > > 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. I've been following this thread and there has been some great discussion about future plans for re-write and context-sensitive functionality. In the mean time, can we revert the C-RET behavior back to adding a new headline? I'm finding it incredibly frustration to have no way to just add a new headline below the current contents of a headline, even if it's folded. I'm adding some individuals to my contact file and have no way to just M-RET or C-RET to add a new headline quickly except to navigate and manually type a series of *'s. If we could return one of these to the "old" functionality, that would be great. (Or a recommended new way to just add a headline vs. transforming the last line into a header.) Thanks, John > > 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 > >