[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] Font lock changes (v20.7 to v21.2)
From: |
Bill Pringlemeir |
Subject: |
[h-e-w] Font lock changes (v20.7 to v21.2) |
Date: |
19 Mar 2002 16:10:56 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
I decided to upgrade to v21, when I learned that v21.2 has come out.
It appears that something changed with font-lock. I have code like this,
;; font-lock stuff
(defun bpringle-set-colours ()
"Set the colours of the current frame"
(require 'font-lock)
(require 'ediff)
(setq font-lock-maximum-decoration 3)
(copy-face 'italic 'font-lock-comment-face)
(copy-face 'bold 'font-lock-function-name-face)
(copy-face 'default 'font-lock-string-face)
(copy-face 'default 'font-lock-variable-name-face)
(copy-face 'italic 'font-lock-keyword-face)
(copy-face 'default 'font-lock-type-face)
(set-background-color "black")
(set-foreground-color "LightGrey")
(set-cursor-color "green")
(set-face-foreground 'font-lock-builtin-face "SpringGreen")
(set-face-foreground 'font-lock-comment-face "Coral")
(set-face-foreground 'font-lock-function-name-face "Orange")
(set-face-foreground 'font-lock-string-face "DarkSlateBlue")
(set-face-foreground 'font-lock-variable-name-face "LightSteelBlue")
For some reason v21 sets the backgroud face for
`font-lock-string-face' to be white. Which looks bad because I have a
black screen backgroud. Maybe there was not `face-background' before
this version? I figured out how to setup the colour along time ago
and I forget all of the handy functions for finding out what faces are
set to. I know to run `list-faces-display'. I see some freaky
bizarre Info fonts that have a different point size. I run `info' and
run a search on colour, but I don't find anything. Can some one point
me to an info node on the new features in v21?
tia,
Bill Pringlemeir.
- Re: [h-e-w] Annoying message in mini-buffer, (continued)
RE: [h-e-w] Annoying message in mini-buffer, Milliken, Peter, 2002/03/17
RE: [h-e-w] Annoying message in mini-buffer, Bingham, Jay, 2002/03/19
RE: [h-e-w] Annoying message in mini-buffer, Horsley Tom, 2002/03/19
RE: [h-e-w] Annoying message in mini-buffer, Richard M. Heiberger, 2002/03/19
RE: [h-e-w] Annoying message in mini-buffer, Richard M. Heiberger, 2002/03/19