Kristoffer Balintona <[email protected]> writes:

> That leaves file+olp+datetree: I wasn't sure how that should behave with
> :prepend. With the attached patch set:
>
> 1. With :prepend nil and NO existing datetree: A new datetree will be
>    created at the end of the file (if no or nil olp) or end of subtree
>    (when non-nil olp) with a new entry.
>
> 2. With :prepend t and NO existing datetree: A new datetree will be
>    created at the end of the file (if no or nil olp) or end of subtree
>    (when non-nil olp) with a new entry.
>
> 3. With :prepend nil and an existing datetree: A new entry will be
>    created at the END of associated date in the datetree.
>
> 4. With :prepend t and an existing datetree: A new entry will be created
>    at the BEGINNING of associated date in the datetree.
>
> This means that :prepend only affects where the entry is inserted in the
> datetree (either at the end or beginning of the associated date in the
> datetree), not where the datetree itself is created.
>
> Do you have a problem with any of the above behaviors?

Looks reasonable.

> From 56ce6ce51df419a11a9a0d7069de7d19cc23f278 Mon Sep 17 00:00:00 2001
> From: Kristoffer Balintona <[email protected]>
> Date: Fri, 9 May 2025 11:40:13 -0500
> Subject: [PATCH 1/2] lisp/org-capture.el: Accept omitted or nil olp for
>  file+olp+datetree and file+olp

Could you please rebase the patches onto the latest main?
Also, please move the ORG-NEWS entries under Org 10 heading.
Finally, we are changing the meaning of defcustom, so need to bump
:package-version there.

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