emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C-RET and empty lines


From: Max Nikulin
Subject: C-RET and empty lines
Date: Mon, 21 Aug 2023 22:25:22 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

Hi,

A couple of recent threads reminded me about quite peculiar behavior when a new heading is added by C-RET. I prefer to have an empty line before headings. Sometimes such empty lines disappear. Is such behavior (highly dependent of context) intentional? From my point of view it is confusing.

--- 8< ---
Try =C-RET= when cursor in the following heading titles
* No empty line added

Text
* Existing empty line consumed

Text

* Empty line added before new heading

Text
--- >8 ---

Variants of C-RET effect:

--- 8< ---
* No empty line added

Text
* |
* Existing empty line consumed
--- >8 ---

or

--- 8< ---
* Existing empty line consumed

Text
* |
* Empty line added before new heading
--- >8 ---

or

--- 8< ---
* Empty line added before new heading

Text

* |
--- >8 ---




reply via email to

[Prev in Thread] Current Thread [Next in Thread]