From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Inserting a new item vs a new headline Date: Wed, 31 Oct 2012 12:28:17 +0100 Message-ID: <80ehke98z2.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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