[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing comments' color
From: |
G Annamalai |
Subject: |
Re: Changing comments' color |
Date: |
02 Mar 2001 11:17:54 +0530 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
<snip>
;; I would like to have font locks of my own taste..
;; To see a list of colors do M-x list-colors-display
(custom-set-faces
'(font-lock-comment-face ((t (:foreground "indian red" (background light)))))
'(font-lock-string-face ((((class color) (background light)) (:bold nil
:foreground "medium aquamarine"))))
'(font-lock-keyword-face ((((class color) (background light)) (:bold nil
:foreground "cornflower blue"))))
'(font-lock-constant-face ((((class color) (background light)) (:bold nil
:foreground "ghost white"))))
'(font-lock-type-face ((((class color) (background light)) (:bold nil
:foreground "orchid"))))
'(font-lock-variable-name-face ((((class color) (background light)) (:bold nil
:foreground "lavender"))))
'(font-lock-function-name-face ((((class color) (background light)) (:bold nil
:foreground "dark turquoise"))))
'(font-lock-builtin-face ((((class color) (background light)) (:bold nil
:foreground "goldenrod")))))
<snip>
This I have in my .emacs file. You can try it. Note the
font-lock-comment-face.
Also you can try the color-theme.el package from
http://www.geocities.com/kensanata/emacs.html
It gives a number of pre-defined color-themes.
Cheers,
anna
--
If it wasn't for C, we'd be using BASI, PASAL and OBOL.