emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] results from org-prepare-dblock make clocktable unusable


From: Ihor Radchenko
Subject: Re: [BUG] results from org-prepare-dblock make clocktable unusable
Date: Mon, 09 Sep 2024 18:20:37 +0000

"Mark A. Hershberger" <mah@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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]