Jonas Großekathöfer via "General discussions about Org-mode." <emacs-orgmode@gnu.org> writes:
> ~org-blank-before-new-entry~ does also not work as expected for me using > ~org-capture~. However, I would like to HAVE blank lines for new > entries. But this setting takes only affect within the date tree (see > below): > > Emacs -q with the following Customize settings: > ... Fixed, on main. Partially. I just fixed the problem for headings, but not for lists. For lists, there is no good API and the fix will not be trivial. In general, `org-back-over-empty-lines' and the fact that it awkwardly partially obeys `org-blank-before-new-entry' (just for headings and disregarding 'auto) probably creates many bugs. But the existing code likely relies on it, so removing the current behavior will introduce other bugs, unless every user of `org-back-over-empty-lines' is carefully checked and changed. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ec2724e20 > > Note, the first entry is NOT ~(heading . nil)~, but only ~(heading)~! (heading . nil) is exactly the same as (heading). In Elisp, a list like '(a b c) is represented by nested cons cells: '(a . (b . (c . nil))) or (cons 'a (cons 'b (cons 'c nil))) Try to evaluate the tree variants and see that they produce the same '(a b c) list. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>