From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joakim Tjernlund Newsgroups: gmane.emacs.bugs Subject: bug#16694: Strange background color problem in gentoo Linux Date: Wed, 26 Mar 2014 19:18:41 +0100 Message-ID: References: <52F601AE.5040309@binary-island.eu> <87vbv1osto.fsf@cougar.home.aneadesign.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1395857946 20167 80.91.229.3 (26 Mar 2014 18:19:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2014 18:19:06 +0000 (UTC) Cc: ml_emacs-lists@binary-island.eu, 16694@debbugs.gnu.org, cyd@gnu.org To: Clemens =?UTF-8?Q?Sch=C3=BCller?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 26 19:19:16 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 1WSsPz-0006HT-Hl for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Mar 2014 19:19:15 +0100 Original-Received: from localhost ([::1]:49500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSsPz-0007Dd-3F for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Mar 2014 14:19:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSsPs-0007Bd-5R for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 14:19:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSsPm-0006M7-PV for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 14:19:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSsPm-0006M3-N0 for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 14:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WSsPm-0006wi-1T for bug-gnu-emacs@gnu.org; Wed, 26 Mar 2014 14:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joakim Tjernlund Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Mar 2014 18:19:01 +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: X-Debbugs-Original-Cc: ml_emacs-lists@binary-island.eu, emacs bugs , cyd@gnu.org, 16694@debbugs.gnu.org Original-Received: via spool by 16694-submit@debbugs.gnu.org id=B16694.139585792726662 (code B ref 16694); Wed, 26 Mar 2014 18:19:01 +0000 Original-Received: (at 16694) by debbugs.gnu.org; 26 Mar 2014 18:18:47 +0000 Original-Received: from localhost ([127.0.0.1]:51296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSsPV-0006vv-Js for submit@debbugs.gnu.org; Wed, 26 Mar 2014 14:18:46 -0400 Original-Received: from gw1.transmode.se ([195.58.98.146]:59207) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WSsPT-0006vn-Gc for 16694@debbugs.gnu.org; Wed, 26 Mar 2014 14:18:44 -0400 Original-Received: from mail1.transmode.se (mail1.transmode.se [192.168.201.18]) by gw1.transmode.se (Postfix) with ESMTP id D0A034840B8; Wed, 26 Mar 2014 19:18:42 +0100 (CET) In-Reply-To: <87vbv1osto.fsf@cougar.home.aneadesign.com> X-KeepSent: 3CAD340D:9C92268A-C1257CA7:00641330; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3 September 15, 2011 X-MIMETrack: Serialize by Router on mail1/Transmode(Release 8.5.3FP6|November 21, 2013) at 26/03/2014 19:18:42, Serialize complete at 26/03/2014 19:18:42 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:87420 Archived-At: Clemens Sch=FCller wrote on 2014/03/2= 6=20 16:58:11: >=20 > Hello! >=20 >=20 > > 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=3D16694 . > > > > 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. >=20 > Here is my patch, after I copied the ebuild file in my local overlay: >=20 > --- /usr/portage/app-editors/emacs-vcs/emacs-vcs-24.4.9999.ebuild=20 2014-03-21 15:22:30.000000000 +0100 > +++ emacs-vcs-24.4.9999.ebuild 2014-03-24 21:20:49.947795118 +0100 > @@ -115,6 +115,9 @@ > fi >=20 > epatch=5Fuser > + epatch=20 "${FILESDIR}/0001-lisp-faces.el-Fix-application-of-X-resource-attribut.patc= h" > + epatch=20 "${FILESDIR}/0002-lisp-faces.el-Fix-empty-face-handling.patch" > + epatch=20 "${FILESDIR}/0003-lisp-faces.el-Centralize-no-init-from-x-resources-ch.patc= h" >=20 > # Fix filename reference in redirected man page > sed -i -e "/^\\.so/s/etags/&-${EMACS=5FSUFFIX}/" doc/man/ctags.1 \ If this is a local fix you are better off using epatch=5Fuser than modifyin= g=20 the ebuild. You could also try the easier: (setq initial-frame-alist default-frame-alist) Jocke