From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: colours in client on xterm (if an X frame is open at same time) Date: Fri, 08 Jan 2010 08:47:33 +0100 Message-ID: <4B46E315.30308@swipnet.se> References: <19270.28051.401596.689093@a1i15.kph.uni-mainz.de> <201001072358.o07NwL1e006325@godzilla.ics.uci.edu> <19270.54295.87807.81836@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: lo.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 1262936882 6617 80.91.229.12 (8 Jan 2010 07:48:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2010 07:48:02 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 08 08:47:55 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NT9Za-0003Fg-9G for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2010 08:47:54 +0100 Original-Received: from localhost ([127.0.0.1]:54157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NT9Za-0004ow-Qn for ged-emacs-devel@m.gmane.org; Fri, 08 Jan 2010 02:47:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NT9ZS-0004nH-ME for emacs-devel@gnu.org; Fri, 08 Jan 2010 02:47:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NT9ZN-0004jf-AV for emacs-devel@gnu.org; Fri, 08 Jan 2010 02:47:45 -0500 Original-Received: from [199.232.76.173] (port=45185 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NT9ZN-0004jY-3Q for emacs-devel@gnu.org; Fri, 08 Jan 2010 02:47:41 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:51329) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NT9ZM-00039z-H7 for emacs-devel@gnu.org; Fri, 08 Jan 2010 02:47:40 -0500 Original-Received: from proxy3.bredband.net ([195.54.101.73]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NT9ZJ-0008N0-P3 for emacs-devel@gnu.org; Fri, 08 Jan 2010 02:47:38 -0500 Original-Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA0226B583 for emacs-devel@gnu.org; Fri, 8 Jan 2010 08:47:34 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AglKADpyRktV4S1uPGdsb2JhbACBRJoBAQEBATe4HIQvBA X-IronPort-AV: E=Sophos;i="4.49,241,1262559600"; d="scan'208";a="24485275" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 08 Jan 2010 08:47:34 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id AF9357FA07B; Fri, 8 Jan 2010 08:47:33 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <19270.54295.87807.81836@a1i15.kph.uni-mainz.de> X-detected-operating-system: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119652 Archived-At: Ulrich Mueller skrev: >>>>>> On Thu, 7 Jan 2010, Dan Nicolaescu wrote: > >> Green is not the default face for the modeline for any display, so >> something is strange in your setup. > > Right, this particular colour was taken from my X settings > ("*HighlightColor: DarkSeaGreen2"). I've repeated the test with empty > X resources, new screenshots are here: > > > Anyway, my point was, why are the colours _different_ in the second > case? Especially, why is the background grey? > The terminal frame defines the default face with unspecified-bg. But when you start the X frame, the default face has background white (or rather the X pixel value for white). This face is still realized when you start the second terminal face. Apparently pixel value for "white" in X translates to gray in an xterm. I don't know exactly how the pixel values in the terminal case gets translated. Jan D.