From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#16969: Isearch: lazy-highlight face sometimes has foreground and background the same colour. Date: Sat, 08 Mar 2014 23:55:45 +0200 Organization: JURTA Message-ID: <871tycfj8e.fsf@mail.jurta.org> References: <20140308183550.GA2726@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1394316494 12530 80.91.229.3 (8 Mar 2014 22:08:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2014 22:08:14 +0000 (UTC) Cc: 16969@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 08 23:08:22 2014 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 1WMPPm-0000lV-E8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 23:08:18 +0100 Original-Received: from localhost ([::1]:41950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMPPl-0006TV-SR for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 17:08:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMPPd-0006TI-Jh for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 17:08:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMPPW-00040s-Kf for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 17:08:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMPPW-00040m-Go for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 17:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WMPPW-0003qK-4N for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 17:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Mar 2014 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16969 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16969-submit@debbugs.gnu.org id=B16969.139431643414699 (code B ref 16969); Sat, 08 Mar 2014 22:08:02 +0000 Original-Received: (at 16969) by debbugs.gnu.org; 8 Mar 2014 22:07:14 +0000 Original-Received: from localhost ([127.0.0.1]:57058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMPOj-0003oz-M9 for submit@debbugs.gnu.org; Sat, 08 Mar 2014 17:07:14 -0500 Original-Received: from [69.163.184.122] (port=44259 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMPOg-0003op-Iv for 16969@debbugs.gnu.org; Sat, 08 Mar 2014 17:07:11 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id EA5F23014830DC; Sat, 8 Mar 2014 14:07:08 -0800 (PST) In-Reply-To: <20140308183550.GA2726@acm.acm> (Alan Mackenzie's message of "Sat, 8 Mar 2014 18:35:50 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) 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:86673 Archived-At: > An effective solution would be to give the `lazy-highlight' face a > foreground colour, e.g. black. It's useful to keep the foreground color to help seeing the context especially when a match is highlighted on a font-look foreground. But the problem needs to be fixed anyway. So maybe we could add the face attribute :distant-foreground to the `lazy-highlight' face that could be applied only when the background color is near to the foreground color like a cyan foreground on a cyan background.