gerard.vermeu...@posteo.net writes: > I have reduced my version of `org-babel-demarcate-block' to a minimal > function to locate the bug stemming from edit-prep signaling an > user-error or not. In case edit-prep signals an user-error the call > chain `org-indent-block', `org-indent-region', `org-element-at-point' > triggers an infinite list of warnings (major mode is Python when run > on the test block).
Have you tried the latest main? -- 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>