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: Sun, 9 Mar 2014 13:25:44 +0000 Message-ID: <20140309132544.GB2615@acm.acm> References: <20140308183550.GA2726@acm.acm> <871tycfj8e.fsf@mail.jurta.org> <20140308230118.GC2726@acm.acm> <531C366C.7000104@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1394371818 2118 80.91.229.3 (9 Mar 2014 13:30:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2014 13:30:18 +0000 (UTC) Cc: 16969@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 14:30:23 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 1WMdo6-0007ja-OG for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 14:30:22 +0100 Original-Received: from localhost ([::1]:44042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMdo6-0003KO-CF for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 09:30:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMdnw-000351-1T for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 09:30:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMdno-0003AQ-OE for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 09:30:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMdno-0003A5-LO for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 09:30:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WMdnn-0001ql-4N for bug-gnu-emacs@gnu.org; Sun, 09 Mar 2014 09:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Mar 2014 13:30: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.13943717687040 (code B ref 16969); Sun, 09 Mar 2014 13:30:02 +0000 Original-Received: (at 16969) by debbugs.gnu.org; 9 Mar 2014 13:29:28 +0000 Original-Received: from localhost ([127.0.0.1]:57269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMdnD-0001pS-5f for submit@debbugs.gnu.org; Sun, 09 Mar 2014 09:29:27 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:17646 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMdnA-0001pH-CF for 16969@debbugs.gnu.org; Sun, 09 Mar 2014 09:29:25 -0400 Original-Received: (qmail 93335 invoked by uid 3782); 9 Mar 2014 13:29:23 -0000 Original-Received: from acm.muc.de (pD951AB7C.dip0.t-ipconnect.de [217.81.171.124]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 09 Mar 2014 14:29:21 +0100 Original-Received: (qmail 3965 invoked by uid 1000); 9 Mar 2014 13:25:44 -0000 Content-Disposition: inline In-Reply-To: <531C366C.7000104@swipnet.se> 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:86680 Archived-At: On Sun, Mar 09, 2014 at 10:37:48AM +0100, Jan Djärv wrote: > Hi. > Alan Mackenzie skrev 2014-03-09 00:01: > > I don't know what ":distant-foreground" means. It doesn't seem to be in > > the Elisp manual. > You can't have looked very hard. :-). It was late at night. I had the release version of the Elisp manual open, not the trunk version. > Faces => Face attributes: > `:distant-foreground' > Alternative foreground color, a string. This is like `:foreground' > but the color is only used as a foreground when the background > color is near to the foreground that would have been used. This > is useful for example when marking text (i.e. the region face). > If the text has a foreground that is visible with the region face, > that foreground is used. If the foreground is near the region > face background, `:distant-foreground' is used instead so the text > is readable. Thanks! > Jan D. -- Alan Mackenzie (Nuremberg, Germany).