On Fri, Nov 23, 2018 at 4:32 AM Eric S Fraga <esflists@gmail.com> wrote:
Matt,

you might like to have a look at how the n() macro was implemented as it
has some similar goals.  Check out org-macro-initialize-templates and
org-macro--counter-increment.

ah.  no stupid searching backwards through the buffer.  just track everyting in a variable.

that... is smarter. 


--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.14-1035-gfeb442