* Inserting a new item vs a new headline
@ 2012-10-31 11:28 Sebastien Vauban
0 siblings, 0 replies; only message in thread
From: Sebastien Vauban @ 2012-10-31 11:28 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-31 11:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-31 11:28 Inserting a new item vs a new headline Sebastien Vauban
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).