JD Smith <jdtsm...@gmail.com> writes: > Unfortunately, the presence of `field' properties in an org buffer > interferes with org-element's updates, as it makes free use of > e.g. `line-beginning-position' (which stops at field boundaries). > This can lead to misidentification and even lead to hangs in > org-element scanning [2, org 9.8pre-53cd3f]. > > I suspect the solution is simply to bind `inhibit-field-motion' to t > during relevant org-element scanning functions.
Confirmed. That's all over the place. I will have to review the whole codebase and will likely replace all or many instances of `line-beginning/end-position' with `pos-bol/eol'. But let me do it after finishing ongoing refactoring. -- 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>