From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#16969: Isearch: lazy-highlight face sometimes has foreground and background the same colour. Date: Sat, 08 Mar 2014 16:45:07 -0800 Message-ID: <531BB993.6060507@dancol.org> References: <20140308183550.GA2726@acm.acm> <871tycfj8e.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mMxWfLKJ6d91TB4jb3uq4HfIKljB0kOKr" X-Trace: ger.gmane.org 1394325972 4827 80.91.229.3 (9 Mar 2014 00:46:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2014 00:46:12 +0000 (UTC) Cc: 16969@debbugs.gnu.org To: Juri Linkov , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 01:46: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 1WMRsh-0004OE-GW for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Mar 2014 01:46:19 +0100 Original-Received: from localhost ([::1]:42248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMRsg-0007l9-T7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Mar 2014 19:46:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMRsX-0007l1-PY for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 19:46:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMRsR-0000Gh-Dl for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 19:46:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMRsR-0000Ga-5U for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 19:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WMRsQ-0000wp-BM for bug-gnu-emacs@gnu.org; Sat, 08 Mar 2014 19:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Mar 2014 00:46: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.13943259213584 (code B ref 16969); Sun, 09 Mar 2014 00:46:02 +0000 Original-Received: (at 16969) by debbugs.gnu.org; 9 Mar 2014 00:45:21 +0000 Original-Received: from localhost ([127.0.0.1]:57112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMRrk-0000vi-FE for submit@debbugs.gnu.org; Sat, 08 Mar 2014 19:45:20 -0500 Original-Received: from dancol.org ([96.126.100.184]:49258) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMRri-0000vZ-5Y for 16969@debbugs.gnu.org; Sat, 08 Mar 2014 19:45:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=CUkWcRcAk7CVQ4Cgh47nk9j9u9HsEVxXk6h4+m85Kd8=; b=qJ5R1X4i5fFVPfGLqelbYN/TVUsi+IWxJEm59+rHNTZr4UQFZBtVzDvqCg0HK/Y98JUwFGuo+a0np2Xy+KhHKcarUISrVxLjK8A/b87D280UjiwWJFshMN+sUH9KYFR8IM7YzycdeaLX1pbIAVUWwXBYGfd4A+KJ666pgI//tehCVR1FLpXfxex6+up8tnIDeji/JoveqJKocB19hHa/qxspWkBgJ3INNP0AS3M9bgaRmLMQEmaCjWYjZzqq6xuwtNLRhpZ52JfA/0gRLCi0CLlqTDErRmMV1uJPtqu+CnIeFoAmg1ILFcSV3ejEKffpJ7mjhnopZZRfqGbyIToeow==; Original-Received: from [166.170.43.119] (helo=[192.168.137.148]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1WMRrf-0006cs-BL; Sat, 08 Mar 2014 16:45:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <871tycfj8e.fsf@mail.jurta.org> X-Enigmail-Version: 1.6 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:86676 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mMxWfLKJ6d91TB4jb3uq4HfIKljB0kOKr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/08/2014 01:55 PM, Juri Linkov wrote: >> An effective solution would be to give the `lazy-highlight' face a >> foreground colour, e.g. black. >=20 > It's useful to keep the foreground color to help seeing the context > especially when a match is highlighted on a font-look foreground. >=20 > 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 And what? Are we going to apply distant-foreground to everything and hope that the color we choose is legible in whatever theme the user has? We really need automatic contrast adjustment, not one-off fixes. --mMxWfLKJ6d91TB4jb3uq4HfIKljB0kOKr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTG7mTAAoJEMAaIROpHW7IymoP/3n9+0kdMiF8Y7EO+kRby6hJ PrEEbWYpWnz3w3WXXthQ8DEVJ7bm2mncZp2pCLdLR0PdH+aEly7NvrHz+L+iszcC C433nsdQkHqYdc298IF16OPxBXu0S+E7f3whV61biAwyZ/ts0t8kvRSmtU2AQ71P Btirpc/iFVCqxgfuM5G7MSa9oZsiGKRAcR7CsQ+5b7dbvpMT3mmuPMZ+HBhX6zye f5XyZXnQL9WSvtX5zcxMUXMXFHFcuMBCScIs93L81Lx1i2JX5SVeoo2tWBYeg/So XmeXn9XUAM4C9IK/B9p5lEGj7phwqXWuKTcoUdw2qJw+OpH0vhy+eTWYKi0EGkpq D6din6wvoFZ2QJNCq0n/zMm4fzw75dGWk/m2AzjqqDFe8Ypa0Eeq8Co+kPXHtLpn o2AEUZ8JpL9YHzEPFIY6Vqaje+KY+tOwM8Jvf+HAoEXWAmpdLKbo2WpbmjtDEs16 vA7AFVL+jaiM/60Xz4fg0LZGOg2L7rMiTJdGwJPHH+n2Bm0lvefj0XpLy3LOkj4w N4k40KGd4GfuhV89aTxSh5bXCHC7+lR5OW5zbqRgpXvafvczpuoan9XHdflbSEAB uXx+Qug+zAn+p9qpATYc2sAoCnQAeBdDNdmG6oD0ZNuAyzGLo8grItAeHuNKFp8H bKNkVcnfOlZdDyCSmuSz =dZDP -----END PGP SIGNATURE----- --mMxWfLKJ6d91TB4jb3uq4HfIKljB0kOKr--