GNU bug report logs - #9609
Excessive transient region highlighting with highlight-nonselected-windows

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 27 Sep 2011 01:44:01 UTC

Severity: normal

Tags: confirmed

Found in versions 24.0.90, 25.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: larsi <at> gnus.org
Cc: rgm <at> gnu.org, 9609 <at> debbugs.gnu.org
Subject: bug#9609: Excessive transient region highlighting with highlight-nonselected-windows
Date: Wed, 02 Jun 2021 16:34:52 +0300
> Date: Wed, 02 Jun 2021 15:43:25 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: rgm <at> gnu.org, 9609 <at> debbugs.gnu.org
> 
> > > emacs -Q --eval '(progn (setq highlight-nonselected-windows t) (transient-mark-mode -1))' -f make-frame
> > >
> > > Two frames open showing the *scratch* buffer, once frame has focus.
> > >
> > > With the mouse, click on the "n" of "notes" in the focused frame. Do
> > > not release the mouse. In the other frame, a region starting or ending
> > > at "n" is now selected.
> > 
> > I can confirm that this is still present in Emacs 28.
> > 
> > Pretty weird behaviour.
> 
> Probably we decided that the mouse was dragged because the coordinates
> in the other window are different.  Or something like that.

Btw, you don't need another frame to demonstrate the issue.  You could
do this instead:

  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




This bug report was last modified 4 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.