Subject: bug#58558: 29.0.50; re-search-forward is slow in some buffers

From: Dmitry Gutov <[email-masked]>
Date: Sun, 19 Feb 2023 14:17:00 +0200

On 16/10/2022 12:34, Ihor Radchenko wrote:
> Lars Ingebrigtsen<[email-masked]>  writes:
> 
>>> It happens consistently in Emacs 29, but not in all buffers. Sometimes,
>>> it only happens after some time after Emacs startup. The slowdown is not
>>> there in Emacs 28.
>> Is there anything special about buffers where you see these slowdowns?
> This is a large complex Org buffer.
> 

It seems like it might be helpful to upload the document somewhere, so 
that people can also to reproduce it on their own.

Because I tried this with an Org doc laying around, and couldn't see the 
problem.

You can probably replace all the characters with X or x to anonymize any 
sensitive information, if that's a concern.