Hello,

I find weird the positioning of a new headline, when created via M-RET.

Let me explain with the following ECM:

--8<---------------cut here---------------start------------->8---
* Current section

** List

- Foo
- Baz
@                                  <<< @ = position of the cursor

* Next section
--8<---------------cut here---------------end--------------->8---

If I want to add new item to the list, I press M-RET. It will do the right
thing, and conserves the whitelines below:

--8<---------------cut here---------------start------------->8---
* Current section

** List

- Foo
- Baz
- @


* Next section
--8<---------------cut here---------------end--------------->8---

C-RET, on the other hand, will go at the most far position (one character
before the next section), and glue the new headline there:

--8<---------------cut here---------------start------------->8---
* Current section

** List

- Foo
- Baz


** @
* Next section
--8<---------------cut here---------------end--------------->8---

Often, when not thinking at that, I already insert white lines, but then, I
unavoidably have to remove them by hand.

--8<---------------cut here---------------start------------->8---
* Current section

** List

- Foo
- Baz

@

* Next section
--8<---------------cut here---------------end--------------->8---

becomes this:

--8<---------------cut here---------------start------------->8---
* Current section

** List

- Foo
- Baz



** @
* Next section
--8<---------------cut here---------------end--------------->8---

I would have loved to see the `**' where the cursor was.

I find this not inline with what would happen if I'd know the text of my new
headline:

--8<---------------cut here---------------start------------->8---
* Current section

** List

- Foo
- Baz

@Text of my new headline

* Next section
--8<---------------cut here---------------end--------------->8---

becomes, when M-RETing[1], as *I* expect it:

--8<---------------cut here---------------start------------->8---
* Current section

** List

- Foo
- Baz

** Text of my new headline@

* Next section
--8<---------------cut here---------------end--------------->8---

All of this is really about details. And, maybe, they're due to misuse of
C-RET and M-RET.

Just wanted to signal them, in case that...

Best regards,
  Seb

[1] Not C-RETing...

-- 
Sebastien Vauban


Reply via email to