gerard.vermeu...@posteo.net writes: >>> May you please provide more details? >> > This is different of what I saw before: > > When splitting python blocks in an org file I got a long list of > warnings: > Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org > buffer #<buffer *Org Src rpasyncio.org[ python ]*> (python-mode) > until it stopped by itself. > > I traced this to user-errors in my own `org-babel-edit-prep:python' > which I > use to let eglot handle python source blocks. > > I rewrote my `org-babel-edit-prep:python' to get rid of user-errors but > then I bumped on the user-error coming from > `org-src--make-source-overlay'.
This is strange. `org-src--make-source-overlay' does not use `org-element' API. I cannot see how you are getting such warnings from there. -- 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>