Ihor Radchenko <yanta...@posteo.net> writes: > The number of blank lines after newly inserted is not defined by Org > mode, unlike the number of blank lines before heading that is controlled > by `org-blank-before-new-entry'. > ... > Would it make sense to add a new `org-blank-after-new-entry' > customization that will provide explicit user control over what Org does > when inserting a new heading?
I studied the code closer, and it looks like some parts of Org mode already use `org-blank-before-new-entry' when deciding the blank lines after newly inserted list items. So, instead of introducing a new customization, I went with making sure that blank is inserted after new heading when that heading has blank lines before and there is no blank before the next heading. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f64c8a5a5 -- 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>