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 11:00:07 -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]:47391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeSVP-00033Q-2M for emacs-orgmode@gnu.org; Mon, 20 May 2013 12:00:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeSVM-0004kB-Go for emacs-orgmode@gnu.org; Mon, 20 May 2013 12:00:10 -0400 Received: from mail-lb0-f177.google.com ([209.85.217.177]:41879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeSVM-0004jh-7V for emacs-orgmode@gnu.org; Mon, 20 May 2013 12:00:08 -0400 Received: by mail-lb0-f177.google.com with SMTP id o10so2409640lbi.22 for ; Mon, 20 May 2013 09:00:07 -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 Mon, May 20, 2013 at 10:54 AM, John Hendy wrote: > 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.) Sorry for the noise. I think I just pulled on Friday, but a pull just now and re-make seems to have returned C-RET to doing what I thought it should. I may have pulled and never restarted my emacs session, so it's quite possible this was fixed earlier. Thanks for that! John > > > 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 >> >>