From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#16694: Strange background color problem in gentoo Linux Date: Wed, 26 Mar 2014 09:39:51 -0400 Message-ID: References: <52F601AE.5040309@binary-island.eu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0118254462cecf04f5829a2f X-Trace: ger.gmane.org 1395841230 21884 80.91.229.3 (26 Mar 2014 13:40:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2014 13:40:30 +0000 (UTC) To: joakim.tjernlund@transmode.se, cyd@gnu.org, 16694@debbugs.gnu.org, ml_emacs-lists@binary-island.eu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 26 14:40:39 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 1WSo4M-0000Ku-2P for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Mar 2014 14:40:38 +0100 Original-Received: from localhost ([::1]:48112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSo4L-0001YQ-MI for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Mar 2014 09:40:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSo3v-0000kr-CU for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 09:40:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSo3p-0002HV-Kn for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 09:40:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSo3p-0002HN-HY for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 09:40:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WSo3o-0004zZ-BD for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 09:40:04 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <52F601AE.5040309@binary-island.eu> Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Mar 2014 13:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16694-submit@debbugs.gnu.org id=B16694.139584119519166 (code B ref 16694); Wed, 26 Mar 2014 13:40:03 +0000 Original-Received: (at 16694) by debbugs.gnu.org; 26 Mar 2014 13:39:55 +0000 Original-Received: from localhost ([127.0.0.1]:50184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSo3e-0004z3-MQ for submit@debbugs.gnu.org; Wed, 26 Mar 2014 09:39:55 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:64896) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSo3c-0004yu-Hw for 16694@debbugs.gnu.org; Wed, 26 Mar 2014 09:39:53 -0400 Original-Received: by mail-ob0-f172.google.com with SMTP id wm4so2478943obc.3 for <16694@debbugs.gnu.org>; Wed, 26 Mar 2014 06:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QiGjX4/ikLneanWWrgf4dGh0xJXlLTf+kGfcRXMjfwc=; b=dS22Z1VouSrctizJlWxI0wnebN0CUXK/atdvVwha0N7ZEH6mO+EO9IooGuBzT+rqdU 5Le7UgsG5NKsBaaNh4PBjOvlCPObZ8EmkCtSmajcwowndi/l0aFG7fWgp1rVxKpj/9Cx ZrewNLf9PrPEBs83rAXesoE2SU0sCmdfftBPIpQQr0d92QAJR4BQW/mkjacxtPuWciFz Kl1tYe8VlkAN1LAND0BEMS/S+JdR/bPM8ifryliB3S0bwcfSH6CxyAINa58BD1LonNrn tXR1H1ONy5dIcFVKeht2QGaLV51ZXVBq4yF1k8JRlFUtKI74QFzG5oLjioUn5JRiKWmH vDiQ== X-Received: by 10.60.173.233 with SMTP id bn9mr68374216oec.9.1395841191561; Wed, 26 Mar 2014 06:39:51 -0700 (PDT) Original-Received: by 10.76.6.44 with HTTP; Wed, 26 Mar 2014 06:39:51 -0700 (PDT) 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:87399 Archived-At: --089e0118254462cecf04f5829a2f Content-Type: text/plain; charset=ISO-8859-1 > I am using Gnome2, KDE and MATE on a fresh Gentoo system. In my > .emacs I have: > > (add-to-list 'default-frame-alist '(background-color . "#333333")) > (add-to-list 'default-frame-alist '(foreground-color . "White")) > (add-to-list 'default-frame-alist '(cursor-color . "White")) > > Whenever I use MATE or KDE, emacs fails to set the background color > to Green(#333333), it becomes white instead and I end up with White > one White on White :( If I open a new Frame I get my Green > background though. > > This happens on 24.3.50_pre20140228 and 24.3.9999-r1 (top of repo > tree) Tried both gtk2 and gtk3 USE flags Sounds similar to several other bug reports since the regression was introduced in December. Most discussion is at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16694 . Chong, it would be nice if you could opine about the problem and Matthias's patches. The offending commit was: 15e14b165dcbc6566a0459b0d5e66f89080f569e is the first bad commit commit 15e14b165dcbc6566a0459b0d5e66f89080f569e Author: Chong Yidong gnu.org> Date: Sat Dec 21 23:31:09 2013 +0800 Don't make faces when loading Custom themes. * custom.el (custom-theme-recalc-face): Do nothing if the face is undefined. Thus, theme settings for undefined faces do not take effect until the faces are defined with defface, the same as with theme variables. * faces.el (face-spec-set): Use face-spec-recalc in all cases. (face-spec-reset-face): Don't assign extra properties in temacs. (face-spec-recalc): Apply X resources too. --089e0118254462cecf04f5829a2f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> I am using Gnome2, KDE and MATE on a fresh Gentoo sys= tem. In my
> .emacs I have:
>
> (add-to-list 'default= -frame-alist '(background-color . "#333333"))
> (add-to= -list 'default-frame-alist '(foreground-color . "White"))=
> (add-to-list 'default-frame-alist '(cursor-color . "White= "))
>
> Whenever I use MATE or KDE, emacs fails to set the= background color
> to Green(#333333), it becomes white instead and I= end up with White
> one White on White :( If I open a new Frame I get my Green
> bac= kground though.
>
> This happens on 24.3.50_pre20140228 and 24.= 3.9999-r1 (top of repo
> tree) Tried both gtk2 and gtk3 USE flags

Sounds similar to several other bug reports since the regression wasintroduced in December. Most discussion is at
http://debbugs.gnu.org/cgi/bugrepor= t.cgi?bug=3D16694 .

Chong, it would be nice if you could opine about the problem and
Mat= thias's patches. The offending commit was:

15e14b165dcbc6566a045= 9b0d5e66f89080f569e is the first bad commit
commit 15e14b165dcbc6566a045= 9b0d5e66f89080f569e
Author: Chong Yidong <cyd <at> gnu.org<= /a>>
Date:=A0=A0 Sat Dec 21 23:31:09 2013 +0800

=A0=A0=A0 Don&= #39;t make faces when loading Custom themes.

=A0=A0=A0 * custom.el (= custom-theme-recalc-face): Do nothing if the face is
=A0=A0=A0 undefined.=A0 Thus, theme settings for undefined faces do not tak= e
=A0=A0=A0 effect until the faces are defined with defface, the same as= with
=A0=A0=A0 theme variables.

=A0=A0=A0 * faces.el (face-spec-= set): Use face-spec-recalc in all cases.
=A0=A0=A0 (face-spec-reset-face): Don't assign extra properties in tema= cs.
=A0=A0=A0 (face-spec-recalc): Apply X resources too.

--089e0118254462cecf04f5829a2f--