emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] counter macro in dates?


From: Matt Price
Subject: [O] counter macro in dates?
Date: Thu, 17 Aug 2017 15:25:31 -0400

I'd love to be able generate dates dynamically using the {{{n}}} org macro, or some other mechanism.  I don't immediately see how that would be possible but maybe someone can guide me.  I'd want to do something equivalent to this pseudo-elisp:

(let ((base-date 2017-09-05))
  (+ base-date (* 7 {{{n}}}))

I haven't looked into how date objects are parsed in org-mode, though, so I have no idea how hard it would be to actually implement something like this.  

Thank you everyone!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]