all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* counter macro in dates?
@ 2017-08-17 19:25 Matt Price
  2017-08-23  6:27 ` Adam Porter
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Price @ 2017-08-17 19:25 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

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!

[-- Attachment #2: Type: text/html, Size: 622 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-24 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 19:25 counter macro in dates? Matt Price
2017-08-23  6:27 ` Adam Porter
2017-08-23 21:02   ` Kaushal Modi
2017-08-24  1:45     ` Adam Porter
2017-08-24 10:39       ` Kaushal Modi
2017-08-24 15:30       ` Kaushal Modi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.