Sterling Hooten <hoo...@gmail.com> writes: >> On 2022-12-14, at 06:15, Ihor Radchenko <yanta...@posteo.net> wrote: >> >> I do have this implemented in local branch. Just did not push it >> upstream as it was rejected. > > Could you share that here so I could test it?
https://github.com/yantar92/org/tree/feature/org-font-lock-element >> This is handled by org-fold-core.el library. >> Note that you can use the library to introduce new fold types. >> Editing inside folds is optimized. All other concerns are also handled >> within org-fold-core. > > I will read through this and try it out. I tried my best to explain the design in the top comment. You may also look into `org-fold-initialize'. -- 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>