GNU bug report logs - #16192
hl-line-mode: Current line highlighting takes precedence over region highlighting

Previous Next

Package: emacs;

Reported by: Jarosław Rzeszótko <sztywny <at> gmail.com>

Date: Thu, 19 Dec 2013 11:39:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>, Jaros?aw Rzeszótko <sztywny <at> gmail.com>
Cc: 16192 <at> debbugs.gnu.org
Subject: bug#16192: hl-line-mode: Current line highlighting takes precedence over region highlighting
Date: Thu, 19 Dec 2013 08:43:56 -0800 (PST)
> I've just installed a patch which lowers the priority of the hl-line
> highlighting, which seems like a good thing to do in general and which
> should resolve this problem (unless you use the same attributes for the
> region and the hl-line faces).

It's not about the priority of the hl-line highlighting. (And other code
might well expect the priority that was there before.)

It's about the priority of the region highlighting.  Raise that,
instead of lowering other priorities case by case (and possibly breaking
other code).  It is the region overlay that is new.  It is its priority
that needs fixing.

But didn't you say that you didn't want to be fiddling with priorities,
to deal with the problems introduced by this change?




This bug report was last modified 10 years and 49 days ago.

Previous Next


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