Subject: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows

From: Juri Linkov <[email-masked]>
Date: Thu, 03 Jun 2021 23:20:48 +0300

>> >   emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))'
>> >   C-x 2
>> >   Click and hold the mouse button on some character
>>
>> The problem is that currently the mark is not window-local.
>
> But the region's overlay _is_ specific to the window where it is set.
> Or are you saying it isn't the region that is highlighted in the other
> window?

The region is activated in both windows of the same buffer.
I thought the problem is here.

> Btw, we could decide that we don't care about this quirk: it's a
> pretty rare and obscure use case.