GNU bug report logs - #56662
29.0.50; Funny region highlights when highlight-nonselected-windows is t

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Wed, 20 Jul 2022 11:36:02 UTC

Severity: normal

Tags: wontfix

Found in version 29.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 56662 <at> debbugs.gnu.org, kevin.legouguec <at> gmail.com
Subject: bug#56662: 29.0.50; Funny region highlights when highlight-nonselected-windows is t
Date: Thu, 21 Jul 2022 18:54:35 +0300
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: 56662 <at> debbugs.gnu.org,  kevin.legouguec <at> gmail.com
> Date: Thu, 21 Jul 2022 20:05:58 +0530
> 
> >> > So what happens if the user then types "C-x o" to switch to B?
> >> 
> >> Ideally, nothing.  Only the active window changes but the region
> >> highlighting before and after should be the same.
> >
> > But that's a bug: region highlighting should definitely work in a
> > selected window.
> >
> 
> It won't be a bug if the region is considered window-local.

That's what the default already does, doesn't it?

> "Window-local" because the region was made when in window A and so its
> "active"-ness is confined to window A.
> 
> >> Here's another question: what about delete-selection-mode when the
> >> active window is B?
> >
> > What about it?
> 
> If we were to make the region window-local, then should
> delete-selection-mode delete the region when in window B?

If it's highlighted, yes.




This bug report was last modified 2 years and 298 days ago.

Previous Next


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