[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cursor colour

From: Gilbert Harman
Subject: Re: Cursor colour
Date: Thu, 26 Sep 2002 09:47:35 -0400
User-agent: Microsoft-Entourage/

On 9/26/02 9:15 AM, "Davide Viti" <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]