From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sven.bretfeld@gmx.ch Newsgroups: gmane.emacs.help Subject: Re: Debian emacs -nw and background colour Date: Sun, 22 Apr 2007 19:45:28 +0200 Message-ID: <20070422174528.GI7098@relwi.unibe.ch> References: <871wicl99a.fsf@wivenhoe.staff8.ul.ie> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177263952 10955 80.91.229.12 (22 Apr 2007 17:45:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Apr 2007 17:45:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Brendan Halpin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 22 19:45:46 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hfg89-00025y-9l for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Apr 2007 19:45:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfgDS-00068x-4y for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Apr 2007 13:51:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HfgDG-00068s-IJ for help-gnu-emacs@gnu.org; Sun, 22 Apr 2007 13:51:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HfgDF-00068g-1w for help-gnu-emacs@gnu.org; Sun, 22 Apr 2007 13:51:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfgDE-00068d-US for help-gnu-emacs@gnu.org; Sun, 22 Apr 2007 13:51:00 -0400 Original-Received: from mxout.hispeed.ch ([62.2.95.247] helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Hfg7v-0003Mb-5I for help-gnu-emacs@gnu.org; Sun, 22 Apr 2007 13:45:31 -0400 Original-Received: from kamaloka.dhatu (80-219-144-82.dclient.hispeed.ch [80.219.144.82]) (authenticated bits=0) by smtp.hispeed.ch (8.12.11.20060308/8.12.11/taifun-1.0) with ESMTP id l3MHjSUo012187 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Sun, 22 Apr 2007 19:45:28 +0200 Original-Received: from sven by kamaloka.dhatu with local (Exim 4.63) (envelope-from ) id 1Hfg7s-00009k-84; Sun, 22 Apr 2007 19:45:28 +0200 Content-Disposition: inline In-Reply-To: <871wicl99a.fsf@wivenhoe.staff8.ul.ie> X-Operating-System: Debian GNU/Linux 4.0 Kernel 2.6.18-4-486 User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on smtp-05.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-02.tornado.cablecom.ch-Metrics: smtp-05.tornado.cablecom.ch 1378; Body=2 Fuz1=2 Fuz2=2 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42986 Archived-At: Hi Branden On Sun, Apr 22, 2007 at 04:27:29PM +0100, Brendan Halpin wrote: > When I run emacs in an xterm under Debian, the background switches > >from white (255,255,255) to grey90 right at the end of reading > .emacs. I have no idea what causes this effect. But have you tried to define a color theme in your .emacs in the following way? (when (not window-system) (color-theme-emacs-nw) ) However, the theme emacs-nw has a grey background. Maybe any other theme of the Debian emacs-goodies package is suitable for your needs. Or maybe a color definition using the (when (not window-system) (...)) command has the wanted effect. Good luck, Sven