Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

  1. org-clone-trigger-keywords: which TODO keywrods triggering clonning. You may consider that canceling something shouldn’t clone your entries further.
  2. org-clone-trigger-times-property: name of the property which controls how many new entries should we produce. See org-clone-subtree-with-time-shift for details.
  3. org-clone-trigger-shift-property: name of the property which controls the time shift of entry. See org-clone-subtree-with-time-shift for details.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published