bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29889: 27.0.50; Slow visual selection


From: Po Lu
Subject: bug#29889: 27.0.50; Slow visual selection
Date: Sat, 21 May 2022 20:24:23 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Yes, that should work.  And there probably aren't that many of these
> commands, so it should be possible to get them all marked with
> reasonable confidence.

But what if some other command moves the region?  For example, if you
type "C-x h" and then "C-f"?

The selection should also be updated then, I think, to match the text
displayed in the region face.  The best way to solve the performance
problem is probably to fall back to using buffer positions instead of
strings if the region exceeds a certain amount of characters in length.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]