emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Christian Moe <mail@christianmoe.com>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>,
	Bernt Hansen <bernt@norang.ca>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: M-RET and C-RET turn current line of text into a heading?
Date: Mon, 20 May 2013 11:00:07 -0500	[thread overview]
Message-ID: <CA+M2ft9c-+mYqdn1UwrM7KgE8MnaCvetZSsqJ9+zJN1kVs1hEA@mail.gmail.com> (raw)
In-Reply-To: <CA+M2ft_LOxJqJadGfxX=D+ynVVL8y=Tnw6Jq-jgNwnC4qx4bCw@mail.gmail.com>

On Mon, May 20, 2013 at 10:54 AM, John Hendy <jw.hendy@gmail.com> wrote:
> On Wed, May 15, 2013 at 2:54 AM, Christian Moe <mail@christianmoe.com> 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
>>
>>

  reply	other threads:[~2013-05-20 16:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  4:58 M-RET and C-RET turn current line of text into a heading? Eric Abrahamsen
2013-05-15  7:54 ` Christian Moe
2013-05-15  8:22   ` Eric Abrahamsen
2013-05-15  9:01     ` Christian Moe
2013-05-15  9:30       ` Eric Abrahamsen
2013-05-20 15:54   ` John Hendy
2013-05-20 16:00     ` John Hendy [this message]
2013-05-20 16:14       ` Matt Lundin
2013-05-20 18:41         ` John Hendy
2013-05-15 18:39 ` Samuel Wales
2013-05-16  3:17   ` Eric Abrahamsen
2013-05-16  3:42     ` Samuel Wales
2013-05-16 11:49       ` Eric Abrahamsen
2013-05-16  7:22     ` Daniel Bausch
2013-05-16  9:21       ` Detlef Steuer
2013-05-16 13:48     ` Rick Frankel
2013-05-16 16:10     ` Eric S Fraga
2013-05-16  6:21   ` Bastien
2013-05-16  9:23     ` Miro Bezjak
2013-05-16 19:11     ` Jason F. McBrayer
2013-05-17 11:20       ` Carsten Dominik
2013-05-17 13:42         ` Jason F. McBrayer
2013-05-17 13:26     ` Carsten Dominik
2013-05-17 19:07       ` Rick Frankel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft9c-+mYqdn1UwrM7KgE8MnaCvetZSsqJ9+zJN1kVs1hEA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=mail@christianmoe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).