From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25348: `display` property faces are prioritized above overlays Date: Thu, 05 Jan 2017 18:27:55 +0200 Message-ID: <8337gxeak4.fsf@gnu.org> References: <3385c032-ead0-4890-8cf4-e54375ea8ac7@default> <83vatuernc.fsf@gnu.org> <83lguqeh10.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1483634194 27920 195.159.176.226 (5 Jan 2017 16:36:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2017 16:36:34 +0000 (UTC) Cc: 25348@debbugs.gnu.org To: Travis Foster Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 05 17:36:30 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPB1b-0005p1-Dw for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jan 2017 17:36:23 +0100 Original-Received: from localhost ([::1]:47356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPB1e-0001kt-1g for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jan 2017 11:36:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPAtX-0002r3-2B for bug-gnu-emacs@gnu.org; Thu, 05 Jan 2017 11:28:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPAtW-0000nW-BH for bug-gnu-emacs@gnu.org; Thu, 05 Jan 2017 11:28:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56844) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cPAtW-0000nA-8E for bug-gnu-emacs@gnu.org; Thu, 05 Jan 2017 11:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cPAtW-0001kt-1q for bug-gnu-emacs@gnu.org; Thu, 05 Jan 2017 11:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jan 2017 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25348 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25348-submit@debbugs.gnu.org id=B25348.14836336766734 (code B ref 25348); Thu, 05 Jan 2017 16:28:02 +0000 Original-Received: (at 25348) by debbugs.gnu.org; 5 Jan 2017 16:27:56 +0000 Original-Received: from localhost ([127.0.0.1]:44010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPAtQ-0001kY-3m for submit@debbugs.gnu.org; Thu, 05 Jan 2017 11:27:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cPAtN-0001kH-Rx for 25348@debbugs.gnu.org; Thu, 05 Jan 2017 11:27:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPAtH-0000iH-NV for 25348@debbugs.gnu.org; Thu, 05 Jan 2017 11:27:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPAt9-0000fJ-B6; Thu, 05 Jan 2017 11:27:39 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1054 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cPAt8-0002K8-FX; Thu, 05 Jan 2017 11:27:38 -0500 In-reply-to: (message from Travis Foster on Wed, 4 Jan 2017 13:59:00 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:127788 Archived-At: > From: Travis Foster > Date: Wed, 4 Jan 2017 13:59:00 -0800 > Cc: Drew Adams > > So, alright, this isn't a bug. What if I don't want this behavior, though? Is there anything I can do to my display > properties so that they don't show through overlays? I sort of doubt it at this point, but I might as well ask. As I already mentioned, if your face for the display string doesn't specify a background color, the hl-line background color will be used. If that's not an option, perhaps you could do that dynamically, by changing the face of the display string whenever the hl-line overlay is on the line where you have your display string? Or maybe someone else will have more clever ideas.