From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Same 'face' spec initialized to different values for x and terminal Date: Mon, 04 Jun 2007 00:05:03 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1180904757 16173 80.91.229.12 (3 Jun 2007 21:05:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 21:05:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 23:05:54 2007 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 1HuxG6-00044K-Dy for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 23:05:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuxG6-0000Lw-0O for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 17:05:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HuxG2-0000La-OY for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:05:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HuxG2-0000LM-DQ for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:05:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuxG2-0000LH-6q for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:05:02 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HuxG1-0006g3-Mf for emacs-devel@gnu.org; Sun, 03 Jun 2007 17:05:01 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-193-210.inter.net.il [83.130.193.210]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id CSO16528 (AUTH halo1); Mon, 4 Jun 2007 00:04:58 +0300 (IDT) In-reply-to: (message from Leo on Sun, 03 Jun 2007 21:56:18 +0100) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:72140 Archived-At: > From: Leo > Date: Sun, 03 Jun 2007 21:56:18 +0100 > > *NB*: emacs has a light background in both x and xterm. Thus it looks > very weird the aforementioned face is initialized to the dark > background value. Emacs cannot determine the background color on a text terminal, so it assumes something. Without -nw, Emacs queries the window system about the default color, so it can adjust its background mode. Try setting frame-background-mode to 'light in the xterm case, and I think you will have the colors that you want.