From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#16462: 24.3; emacs does not start under KDE (Undefined color: "WINDOW_FOREGROUND") Date: Fri, 17 Jan 2014 09:38:42 +0100 Message-ID: <52D8EC12.8070602@swipnet.se> References: <52D7A842.9030400@redhat.com> <52D7C7A7.2000908@redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389947958 14801 80.91.229.3 (17 Jan 2014 08:39:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2014 08:39:18 +0000 (UTC) Cc: 16462-done@debbugs.gnu.org To: Petr Hracek Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 17 09:39:24 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 1W44xW-00015X-N0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 09:39:22 +0100 Original-Received: from localhost ([::1]:36845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W44xW-0003Bi-9j for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 03:39:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W44xK-0003Au-J8 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:39:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W44xD-0001nH-7c for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:39:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W44xD-0001nA-3e for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:39:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W44xC-0003D8-PN for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:39:02 -0500 Resent-From: "Jan D." Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2014 08:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 16462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 16462@debbugs.gnu.org, jan.h.d@swipnet.se, phracek@redhat.com Original-Received: via spool by 16462-done@debbugs.gnu.org id=D16462.138994793412321 (code D ref 16462); Fri, 17 Jan 2014 08:39:02 +0000 Original-Received: (at 16462-done) by debbugs.gnu.org; 17 Jan 2014 08:38:54 +0000 Original-Received: from localhost ([127.0.0.1]:54381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W44x3-0003Cf-GJ for submit@debbugs.gnu.org; Fri, 17 Jan 2014 03:38:53 -0500 Original-Received: from mailfe05.swip.net ([212.247.154.129]:60968 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W44x0-0003CV-TN for 16462-done@debbugs.gnu.org; Fri, 17 Jan 2014 03:38:52 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 464941092; Fri, 17 Jan 2014 09:38:46 +0100 Original-Received: from jdvpro.local (unknown [176.57.193.190]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id 734AA1A01A3; Fri, 17 Jan 2014 08:38:46 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <52D7C7A7.2000908@redhat.com> 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:83631 Archived-At: Hello. Petr Hracek skrev 2014-01-16 12:51: > Hi, > > I have found in google that it could be related with > xorg-server-utils and programs within the package. > Some programs did not provide the variable. > > Is there any was how to make emacs working properly again? > https://bugzilla.redhat.com/show_bug.cgi?id=1053891 > This is outside of Emacs control. There are some files that expects to be run through the preprocessor, but isn't. It is usually Emacs.ad, located somewhere in /etc/X11 or /usr/lib/X11 or /usr/share/X11, or with xorg instead of X11. This error comes up now and then. If you find the Emacs.ad file, try removing it. You may have to restart X after that. Also do % xrdb -query and you will see if the WINDOW_FOREGROUND is set just for Emacs or globally. If it is globally, removing Emacs.ad wont help, some other file isn't preprocessed properly. The point is, this is not an Emacs bug, closing. Jan D. > Greetings > Petr Hracek > On 16/01/14 10:37, Petr Hracek wrote: >> Hi guys, >> >> I have a problem with running emacs under KDE environment. >> When I try to run either 'emacs' or 'emacs ' then it failed >> with message >> Undefined color: "WINDOW_FOREGROUND" >> >> All other Window Managers like Gnome and Cinnamon are working properly. >> emacs is build up with gtk3. >> >> Could you please help me with the issues. >> Package version: emacs-24.3 >> >> Sorry but I did not find the commit with that issue. >> >> best regards >> Petr >> > >