Ihor Radchenko <yanta...@posteo.net> writes: >> - (with-current-buffer (get-buffer-create " *Org string width*") >> + (with-current-buffer (get-buffer-create " *Org string width*" t) > > ... just one problem - `get-buffer-create' in Emacs 27 does not yet have > the second optional argument. And we still support Emacs 27 (until when > Emacs 30 is released). See > https://orgmode.org/worg/org-maintenance.html#emacs-compatibility > > Also, since we are using `get-buffer-create', we only do it once per > Emacs session at most. So, I am not sure if it is a big deal. > I do not mind merging the patch after Emacs 30 is out though.
Emacs 30 is out, so we may install the patch on main. However, I am wondering about the motivation behind your patch. Did you observe a noticeable performance degradation? If yes, it would be nice to hear more details - we have some more places in Org mode that use similar approach and might need to be updated. -- 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>