From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16192: hl-line-mode: Current line highlighting takes precedence over region highlighting Date: Thu, 19 Dec 2013 08:43:56 -0800 (PST) Message-ID: <4497f846-4399-48b4-bd48-4bf15a44be81@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1387471519 9603 80.91.229.3 (19 Dec 2013 16:45:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2013 16:45:19 +0000 (UTC) Cc: 16192@debbugs.gnu.org To: Stefan Monnier , Jaros?aw =?UTF-8?Q?Rzesz=C3=B3tko?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 19 17:45:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vtgiw-0008NJ-Vk for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 17:45:23 +0100 Original-Received: from localhost ([::1]:45194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtgiw-0007Zw-9h for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Dec 2013 11:45:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtgil-0007Yy-Jv for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:45:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vtgid-0005mn-1r for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:45:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtgic-0005mE-Ud for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vtgib-0003NO-MG for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2013 11:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2013 16:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16192-submit@debbugs.gnu.org id=B16192.138747144312883 (code B ref 16192); Thu, 19 Dec 2013 16:45:01 +0000 Original-Received: (at 16192) by debbugs.gnu.org; 19 Dec 2013 16:44:03 +0000 Original-Received: from localhost ([127.0.0.1]:58822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vtghf-0003Li-3C for submit@debbugs.gnu.org; Thu, 19 Dec 2013 11:44:03 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:29408) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vtghc-0003LC-LJ for 16192@debbugs.gnu.org; Thu, 19 Dec 2013 11:44:01 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBJGhwua000401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Dec 2013 16:43:59 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBJGhvPW026216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Dec 2013 16:43:58 GMT Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBJGhvuH023055; Thu, 19 Dec 2013 16:43:57 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82226 Archived-At: > 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?