"Mark A. Hershberger" <m...@everybody.org> writes: >> #+BEGIN: clocktable :match tag >> #+END: > > Hiting C-c C-c with point on #+BEGIN results in “Invalid match tag: tag”. > > This is from the first line of code in org-tags-expand: > (unless (org-string-nw-p match) (error "Invalid match tag: %S" match)) > > Tracking this down, the problem seems too be that org-prepare-dblock > produces a list of params that is the following: > > (:name "clocktable" :match tag)
You need to put tag into quotes. I guess we may document this, but I am not sure where. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>