GNU bug report logs - #16969
Isearch: lazy-highlight face sometimes has foreground and background the same colour.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sat, 8 Mar 2014 18:40:02 UTC

Severity: minor

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 16969 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: Juri Linkov <juri <at> jurta.org>, 16969 <at> debbugs.gnu.org
Subject: Re: bug#16969: Isearch: lazy-highlight face sometimes has foreground
 and background the same colour.
Date: Sun, 9 Mar 2014 13:25:44 +0000
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).




This bug report was last modified 3 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.