From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#16969: Isearch: lazy-highlight face sometimes has foreground and background the same colour. Date: Sat, 8 Mar 2014 23:01:18 +0000 Message-ID: <20140308230118.GC2726@acm.acm> References: <20140308183550.GA2726@acm.acm> <871tycfj8e.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1394319912 12788 80.91.229.3 (8 Mar 2014 23:05:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2014 23:05:12 +0000 (UTC) Cc: 16969@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 00:05:20 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 1WMQIx-0008Vn-Sw for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 00:05:20 +0100 Original-Received: from localhost ([::1]:42063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMQIx-0006UN-CQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 18:05:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMQIo-0006EP-2E for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 18:05:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMQIg-0003ve-OO for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 18:05:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMQIg-0003vB-Lh for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 18:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WMQIf-0005Uo-P0 for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 18:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Mar 2014 23:05:01 +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.139431989621110 (code B ref 16969); Sat, 08 Mar 2014 23:05:01 +0000 Original-Received: (at 16969) by debbugs.gnu.org; 8 Mar 2014 23:04:56 +0000 Original-Received: from localhost ([127.0.0.1]:57085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMQIa-0005UQ-4A for submit@debbugs.gnu.org; Sat, 08 Mar 2014 18:04:56 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:54133 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMQIX-0005UE-3v for 16969@debbugs.gnu.org; Sat, 08 Mar 2014 18:04:54 -0500 Original-Received: (qmail 39242 invoked by uid 3782); 8 Mar 2014 23:04:51 -0000 Original-Received: from acm.muc.de (pD951AEEF.dip0.t-ipconnect.de [217.81.174.239]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 09 Mar 2014 00:04:50 +0100 Original-Received: (qmail 4962 invoked by uid 1000); 8 Mar 2014 23:01:18 -0000 Content-Disposition: inline In-Reply-To: <871tycfj8e.fsf@mail.jurta.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:86675 Archived-At: Hi, Juri. On Sat, Mar 08, 2014 at 11:55:45PM +0200, Juri Linkov wrote: > > 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. Yes. > 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. I don't know what ":distant-foreground" means. It doesn't seem to be in the Elisp manual. -- Alan Mackenzie (Nuremberg, Germany).