On Wednesday, 7 Jun 2017 at 18:43, Charles C. Berry wrote: [...] > Maybe implement somethng like this: > > #+BEGIN_SRC emacs-lisp > (defun n-noexport (x y) > (let ((tags (nth 5 (org-heading-components)))) > (unless (and tags > (string-match ":noexport:" tags)) > (org-macro--counter-increment x y)))) > #+END_SRC > > #+MACRO: n2 (eval (n-noexport "$1" "$2")) This is really straightforward and solves my problem perfectly. Thank you! -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.7-531-g530113