"critbase" <critb...@critbase.net> writes:

> The (probably) most relevant parts of my configuration are as follows:
>   (setq org-blank-before-new-entry '((heading . nil)
>                                      (plain-list-item . nil)))
>   (setq org-capture-templates
>         '(("t" "todo" entry (file+olp+datetree "~/org/superbug.org")
>            "* TODO %?\n%U\n%a")
>           ("n" "note" entry (file+olp+datetree "~/org/superbug.org")
>            "* %?\n%U\n%a")))
>
> When I capture to a new date, creating the first entry for that day,
> there is a blank line inserted after the deepest datetree headline and
> the headline being captured to, like so:
>
> * 2025
> ...
> ** 2025-05 May
> *** 2025-05-01 Thursday
>
> **** TODO Testing date tree
> [2025-05-01 Thu 00:00]
> [[file:~/org/superbug.org::*redacted][redacted]]

I am unable to reproduce.
Could you try to provide steps to replicate your problem starting from
emacs -Q? See https://orgmode.org/manual/Feedback.html#Feedback

-- 
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>

Reply via email to