From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: A bug set-face-background Date: Thu, 07 Nov 2013 01:49:31 +0100 Message-ID: <87vc05avdw.fsf@web.de> References: <20131107.093943.114882012982387002.kazu@iij.ad.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383785403 2567 80.91.229.3 (7 Nov 2013 00:50:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2013 00:50:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 01:50:08 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VeDnT-0000hI-BH for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 01:50:07 +0100 Original-Received: from localhost ([::1]:36805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeDnS-0003oA-Tl for ged-emacs-devel@m.gmane.org; Wed, 06 Nov 2013 19:50:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeDnH-0003kp-Hx for emacs-devel@gnu.org; Wed, 06 Nov 2013 19:50:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeDnA-0000UQ-8S for emacs-devel@gnu.org; Wed, 06 Nov 2013 19:49:55 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:59980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeDn9-0000UA-VG for emacs-devel@gnu.org; Wed, 06 Nov 2013 19:49:48 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VeDn6-00086W-Rf for emacs-devel@gnu.org; Thu, 07 Nov 2013 01:49:44 +0100 Original-Received: from ip-90-186-77-170.web.vodafone.de ([90.186.77.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Nov 2013 01:49:44 +0100 Original-Received: from michael_heerdegen by ip-90-186-77-170.web.vodafone.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Nov 2013 01:49:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-90-186-77-170.web.vodafone.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:1qqmMErFxsOvxSozLW/wQuCF540= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165017 Archived-At: Hi Kazu, > Recent changes to Emacs HEAD made set-face-background strange. > > The following function sets the foreground of mode-line to "white": > > (set-face-foreground 'mode-line "white") > > But then the following function does not set the background of > mode-lien to "white" and turns the foreground to the original. > > (set-face-background 'mode-line "white") > > This bug does not exist at least on Nov 1. I experience that since some time, Emacs display "overrides" faces that differ only slightly from the background and displays them in black or white instead, to keep things readable. What you see is presumably a symptom of this behavior. Regards, Michael.