From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Same 'face' spec initialized to different values for x and terminal Date: Mon, 04 Jun 2007 00:57:30 +0300 Organization: JURTA Message-ID: <876464ln05.fsf@jurta.org> References: <877iqkoho0.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180908113 25608 80.91.229.12 (3 Jun 2007 22:01:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 22:01:53 +0000 (UTC) Cc: eliz@gnu.org, sdl.web@gmail.com, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 04 00:01:51 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 1Huy91-0004PU-Me for ged-emacs-devel@m.gmane.org; Mon, 04 Jun 2007 00:01:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huy91-0004ap-AZ for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 18:01:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Huy8p-00043Y-Ta for emacs-devel@gnu.org; Sun, 03 Jun 2007 18:01:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Huy8n-0003wq-Mh for emacs-devel@gnu.org; Sun, 03 Jun 2007 18:01:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huy8n-0003wb-L7 for emacs-devel@gnu.org; Sun, 03 Jun 2007 18:01:37 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Huy8m-00047S-Dy; Sun, 03 Jun 2007 18:01:36 -0400 Original-Received: from schnapps.dreamhost.com (apache2-noxim.schnapps.dreamhost.com [208.113.175.112]) by smarty.dreamhost.com (Postfix) with ESMTP id ABC64EE221; Sun, 3 Jun 2007 15:01:35 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by schnapps.dreamhost.com (Postfix) with ESMTP id DD948A86EC; Sun, 3 Jun 2007 15:01:33 -0700 (PDT) In-Reply-To: (Andreas Schwab's message of "Sun\, 03 Jun 2007 23\:34\:46 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: 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:72158 Archived-At: >> emacs --batch --eval '(message "mode: %s" default-frame-background-mode)' >> >> prints >> >> mode: nil > > The background mode is only initialized in non-batch mode (in > normal-top-level or in the terminal init file). It doesn't determine the background mode even in non-batch mode: emacs -q -nw --eval '(message "mode: %s" default-frame-background-mode)' displays in the echo area just after start on the text terminal: mode: nil whereas evaluating it in Emacs displays: mode: light -- Juri Linkov http://www.jurta.org/emacs/