Bruno Cardoso <cardoso...@gmail.com> writes:

> I don't know if it is related, but if I set a property (C-c C-x p) in a new 
> heading with no drawers, I'm unable to unfold the newly created drawer (TAB 
> over it does nothing), although I am able to fold/unfold other already 
> existent drawers as expected. This also happens in `emacs -Q' (org-version 
> 9.7-pre release_9.6.20-1280-g7653e5).

That's a different bug.
Fixed on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fb61e83f2

> Besides the profiler, which still blames
> `org-fold-core--property-symbol-get-create' for the slow-down, is
> there some debugging configuration I should try out?

You can try to run
M-: (benchmark-run 10000 (org-fold-core--property-symbol-get-create 'outline 
nil t)) <RET>
from inside Org mode buffer.

I am getting (0.178426995 0 0.0) as a result - takes almost no CPU time.

-- 
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>

Reply via email to