[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-RET and empty lines
From: |
Ihor Radchenko |
Subject: |
Re: C-RET and empty lines |
Date: |
Tue, 22 Aug 2023 09:52:56 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
> 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.
Yes, it is intentional. Org follows the blank lines of the current
heading when you press C-RET, by default.
This behaviour is customizable. See `org-blank-before-new-entry'.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>