When I'm using remote X forwarding to run X toolkit emacs and I press C-SPC
and move the cursor around, things get very slow. The emacs profiler says all the time is spent in line-move-visual, but I don't think that's it. I think it's an issue with the highlighting being expressed inefficiently at the X layer because it only happens when remoting.
transient-mark-mode
help says it uses the region
face to decide the color:
Transient Mark mode is a global minor mode. When enabled, the region is highlighted with the
region
face whenever the mark is active.
But it doesn't indicate there's any way to toggle the rendering. My thinking is I want to throttle how quickly it will highlight (e.g. wait for 50ms of idleness) since usually I'm highlighting several lines or characters and all the intermediate renderings are going to be short lived.
Is there any way to do this? I assume I have to keep the mode active to not affect editing.