<[email protected]> writes:

> Documentation (https://orgmode.org/manual/Dynamic-Blocks.html) suggests
> a name "block-update-time" for one of the blocks. This works fine with
> `org-dblock-update', but fails with `org-element-dynamic-block-parser',
> which will read the name of dynamic block as "block", and fail to parse
> the parameters.
>
> See the output of `org-element-parse-buffer' on the
> example from the documentation:
>
> #+BEGIN: block-update-time :format "on %m/%d/%Y at %H:%M"
>   ...
> #+END:
>
> for me, it gets parsed as:
>
> (dynamic-block
>  (:begin 745 :end 820 :block-name "block" :arguments nil
> ...
> I think the best way to resolve this would be to update the regexp
> org-element uses; simply replacing [[:word:]] with \S- should probably
> work? At least if that's the only part that's out-of-date

Thanks for reporting!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=aa70cc470

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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