emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Anthony Lander <anthonylander@yahoo.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Bug with M-RET on headline with text below it
Date: Mon, 13 Sep 2010 12:11:24 -0400	[thread overview]
Message-ID: <49D857BD-2CFC-444B-ACC3-B2A52254280D@yahoo.com> (raw)

Hi Nicolas,

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.

So starting with the following org file, and the cursor at the  
vertical bar:

<-------------------------
* Heading 1|
   This is some text under Heading 1
<-------------------------

Pressing M-RET results in the following:

<-------------------------
* Heading 1
* |
   This is some text under Heading 1
<-------------------------

I would have expected

<-------------------------
* Heading 1
   This is some text under Heading 1
* |
<-------------------------


Thanks,

  - Anthony

             reply	other threads:[~2010-09-13 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 16:11 Anthony Lander [this message]
2010-09-13 16:46 ` Bug with M-RET on headline with text below it Nicolas Goaziou
2010-09-13 16:47   ` Anthony Lander

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=49D857BD-2CFC-444B-ACC3-B2A52254280D@yahoo.com \
    --to=anthonylander@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.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).