From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Todd Wylie Newsgroups: gmane.emacs.help Subject: Re: Cursor colour Date: 26 Sep 2002 08:36:27 -0500 Organization: Washington University in St. Louis Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033047988 7847 127.0.0.1 (26 Sep 2002 13:46:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 13:46:28 +0000 (UTC) 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 17uYyI-00022J-00 for ; Thu, 26 Sep 2002 15:46:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uYyH-0003t4-00; Thu, 26 Sep 2002 09:46:25 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!news.stealth.net!news.stealth.net!solaris.cc.vt.edu!news.vt.edu!news.cc.ukans.edu!stl-feed.news.verio.net!newsreader.wustl.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 128.252.233.238 Original-X-Trace: newsreader.wustl.edu 1033047387 14738 128.252.233.238 (26 Sep 2002 13:36:27 GMT) Original-X-Complaints-To: usenet@newsreader.wustl.edu Original-NNTP-Posting-Date: Thu, 26 Sep 2002 13:36:27 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Original-Xref: nntp.stanford.edu gnu.emacs.help:105337 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1889 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1889 >Another request: does anyone have a sample .emacs where the background >colour is black and the syntax is nice... please Here is a very simple .emacs example that will set bg black and cursor color etc. -- it also tries to color syntax for major modes... Good luck. ---------------------------------- ;; DEFAULT COLORS ;; undo to return to normal white bg, black text, etc. (set-foreground-color "grey") (set-background-color "black") (set-cursor-color "white") ;; AUTOMATICALLY FONT-LOCK FOR MAJOR MODES (cond ((fboundp 'global-font-lock-mode) ;; Turn on font-lock in all modes that support it (global-font-lock-mode t) ;; Maximum colors (setq font-lock-maximum-decoration t)))