Re: [O] counter macro in dates?

2017-08-24 Thread Kaushal Modi
On Wed, Aug 23, 2017 at 9:46 PM Adam Porter wrote: > > That's very cool. Do you think Oleh would add it to Tiny? > PR submitted :) https://github.com/abo-abo/tiny/pull/9 -- Kaushal Modi

Re: [O] counter macro in dates?

2017-08-24 Thread Kaushal Modi
On Wed, Aug 23, 2017, 9:46 PM Adam Porter wrote: > > That's very cool. Do you think Oleh would add it to Tiny? > Good question. I'll open an issue on that repo. When I wrote this, I wasn't too good with git, creating branches or submitting PR's. > -- Kaushal Modi

Re: [O] counter macro in dates?

2017-08-23 Thread Adam Porter
Kaushal Modi writes: > +1 for tiny :) > > When I discovered it, I went a bit overboard and wrote a helper fn > (modi/tiny-helper in here[1]) so that I don't have to remember the > tiny syntax. I still use tiny from time to time. > > [1]: >

Re: [O] counter macro in dates?

2017-08-23 Thread Kaushal Modi
On Wed, Aug 23, 2017 at 2:31 AM Adam Porter wrote: > > Apologies to the list for practically spamming this recently, but it > seems directly relevant: > > https://github.com/abo-abo/tiny +1 for tiny :) When I discovered it, I went a bit overboard and wrote a helper fn

Re: [O] counter macro in dates?

2017-08-23 Thread Adam Porter
Matt Price writes: > 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: > >

[O] counter macro in dates?

2017-08-17 Thread Matt Price
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