From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Gilbert Harman Newsgroups: gmane.emacs.help Subject: Re: Cursor colour Date: Thu, 26 Sep 2002 09:47:35 -0400 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" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1033048341 9109 127.0.0.1 (26 Sep 2002 13:52:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 13:52:21 +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 17uZ40-0002Mg-00 for ; Thu, 26 Sep 2002 15:52:20 +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 17uZ46-0004v0-00; Thu, 26 Sep 2002 09:52:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17uZ2m-0004nZ-00 for help-gnu-emacs@gnu.org; Thu, 26 Sep 2002 09:51:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17uZ2k-0004nN-00 for help-gnu-emacs@gnu.org; Thu, 26 Sep 2002 09:51:03 -0400 Original-Received: from postoffice.princeton.edu ([128.112.129.120] helo=Princeton.EDU) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uZ2k-0004nG-00 for help-gnu-emacs@gnu.org; Thu, 26 Sep 2002 09:51:02 -0400 Original-Received: from smtpserver1.Princeton.EDU (smtpserver1.Princeton.EDU [128.112.129.65]) by Princeton.EDU (8.12.3/8.12.3) with ESMTP id g8QDlZTB001956; Thu, 26 Sep 2002 09:47:35 -0400 (EDT) Original-Received: from [141.150.203.74] (pool-141-150-203-74.delv.east.verizon.net [141.150.203.74]) (authenticated bits=0 netid=harman) by smtpserver1.Princeton.EDU (8.12.2/8.12.2) with ESMTP id g8QDlX1b009923 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 26 Sep 2002 09:47:34 -0400 (EDT) User-Agent: Microsoft-Entourage/10.1.0.2006 Original-To: Davide Viti , In-Reply-To: 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:1892 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1892 On 9/26/02 9:15 AM, "Davide Viti" wrote: > I'm not very good at customizing Emacs (lazy and not very much spare > time) but I wanted to change the colour of the cursor with the following: > > (set-cursor-color "red") > > I do get the red colour, but if I open a new frame (C-x 5 2) the cursor is > black... (add-to-list 'default-frame-alist '(cursor-color . "red")) > Another request: does anyone have a sample .emacs where the background > colour is black and the syntax is nice... please Here is mine, not quite black: (add-to-list 'default-frame-alist '(background-color . "gray16")) (add-to-list 'default-frame-alist '(foreground-color . "lightyellow")) (add-to-list 'default-frame-alist '(cursor-color . "Yellow3")) ;; (set-face-background 'region "rgb:8/6/5") (set-face-foreground 'region "lightyellow") (set-face-foreground 'modeline "lightgoldenrod") (set-face-background 'modeline "gray21") (set-face-foreground 'highlight "lightyellow") (set-face-background 'highlight "yellow4") (set-face-foreground 'bold "white") (set-face-foreground 'italic "tan1") (set-face-background 'fringe "gray16") ;; same as background color Gil