From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: Re: unexpected behavior of the dotemacs Date: Wed, 28 May 2003 23:15:09 +0100 Organization: blueyonder (post doesn't reflect views of blueyonder) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030528231509.3df045e5.devnull@example.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054160322 30778 80.91.224.249 (28 May 2003 22:18:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 22:18:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 00:18:34 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19L9Fh-0007zN-00 for ; Thu, 29 May 2003 00:18:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L9Hd-0003eA-U9 for gnu-help-gnu-emacs@m.gmane.org; Wed, 28 May 2003 18:20:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-xfer.cox.net!peer02.cox.net!east.cox.net!cox.net!news-hub.cableinet.net!blueyonder!internal-news-hub.cableinet.net!news-binary.blueyonder.co.uk.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: GNU/Linux Sylpheed Claws 0.9.0 Original-Lines: 28 Original-NNTP-Posting-Host: 82.41.200.92 Original-X-Complaints-To: abuse@blueyonder.co.uk Original-X-Trace: news-binary.blueyonder.co.uk 1054160109 82.41.200.92 (Wed, 28 May 2003 22:15:09 GMT) Original-NNTP-Posting-Date: Wed, 28 May 2003 22:15:09 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:113814 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10308 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10308 jean daniel browne wrote: > I try to turn the background dark green ("DarkSlateGray"), everything > works > fine with NTemacs but either of the two following commands at the end > of the .emacs fails to do what i want on the linux box: > (set-background-color "DarkSlateGray") > (set-face-background 'default "DarkSlateGray") > I also tried to set it thru the "customize GUI". this isn't a solution to your problem... but it may be an alternative: have you used ColorTheme before? http://www.emacswiki.org/cgi-bin/wiki.pl?ColorTheme i find it is definitely the best way to customise colours on emacs. just place that lisp file in one of your paths (say ~/.elisp) and add these lines to your ~/.emacs (add-to-list 'load-path "~/.elisp") (require 'color-theme) and something like (color-theme-euphoria) when you choose the theme you want Sam