Property to auto-clone tree for org-mode
Automatisation for subtree clonning function in org-mode. Calls
org-clone-subtree-with-time-shift on headlines with CLONE_TIMES and
CLONE_SHIFT properties set. See UOMF: Recurring Events with Org Mode for more
insight.
Installation
(use-package org-clone-property
:config (org-clone-property-load))Doom emacs
Package recipe:
(package! org-clone-property
:recipe (:repo "mskorzhinskiy/org-clone-property"
:host github :branch "main"))Usage
Let’s say we have the following file:
* TODO Entry SCHEDULED: <2021-01-09 Sat> :PROPERTIES: :CLONE_TIMES: 2 :CLONE_SHIFT: +1w :END:
If we set this headline as “DONE” then we will automatically get this entry clonned 2 times with time shift of 1 week, producing the following file:
* DONE Entry CLOSED: [2021-01-09 Sat 16:52] SCHEDULED: <2021-01-09 Sat> * TODO Entry SCHEDULED: <2021-01-16 Sat> * TODO Entry SCHEDULED: <2021-01-23 Sat> :PROPERTIES: :CLONE_TIMES: 2 :CLONE_SHIFT: +1w :END:
Configuration
org-clone-trigger-keywords: whichTODOkeywrods triggering clonning. You may consider that canceling something shouldn’t clone your entries further.org-clone-trigger-times-property: name of the property which controls how many new entries should we produce. Seeorg-clone-subtree-with-time-shiftfor details.org-clone-trigger-shift-property: name of the property which controls the time shift of entry. Seeorg-clone-subtree-with-time-shiftfor details.