Subject: Re: bug#72830: Big rectangular selections are slow

From: Mattias Engdegård <[email-masked]>
Date: Thu, 29 Aug 2024 12:22:08 +0200

29 aug. 2024 kl. 05.56 skrev Michael Heerdegen <[email-masked]>:

> My idea would be: highlight from or up to "rectangle point" maximally
> (window-height) lines.

Here I was digging into the redisplay code in the hope of finding an obscure hook to subvert, and you turn up and give us the obvious, simple and correct solution right away. Thank you, Michael!

The patch below is crude but seems to work. Please give it a try.
If the original recipe is still stuttering, try setting `select-active-regions` to nil.