Re: org-element is stymied by non-nil field properties

2025-04-17 Thread Ihor Radchenko
JD Smith 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 s

org-element is stymied by non-nil field properties

2025-04-05 Thread JD Smith
I've been using org-element to identify blocks in org buffers[1]. It's working great in both before & after change functions. It can readily identify newly formed blocks as well as blocks which get "damaged" (header/footer edited). So much better than scanning the buffer yourself, especially