* Re: default colors (dark background)
[not found] ` <9510311354.AA26702@gemini.ryerson.ca>
@ 1995-11-04 0:15 ` Sten Drescher
[not found] ` <199511040015.SAA01979@galil.austnsc.tandem.com.>
1 sibling, 0 replies; 4+ messages in thread
From: Sten Drescher @ 1995-11-04 0:15 UTC (permalink / raw)
Cc: campo, ding
elf@mailhost.ee.ryerson.ca (Luis Fernandes) said:
LF> For those who have "light dark" backgrounds, like grey75, the
LF> default colours (dark blue & forest green) are very readable, but
LF> for those who prefer shades of "really dark" (like me; I use
LF> dodgerblue4), "dark blue" is unreadable, as is "forest green".
LF> I end up modifying both the aforementioned entries in gnus-cus.el,
LF> every time I install a new version of gnus.
LF> However, any choice that looks good on "really dark" looks too
LF> bright on "light dark"; trust me, I inadvertently (!) volunteered to
LF> design a default colour scheme and have been debating this problem
LF> for a while now.
LF> I can't see an easy solution to this without specifying an
LF> additional shade of background: 'really-dark, in addition to 'light
LF> and 'dark.
Well, using the [Help][Customize...] menu item to set the faces
works, sorta. Even this is bad, because I change colors on the fly. In
my .emacs, I have:
(if (eq window-system 'x)
(progn
(defun white () (interactive)
(set-mouse-color "green2")
(set-cursor-color "red")
(set-foreground-color "black")
(set-background-color "antiquewhite")
(set-face-background 'region "cyan3" (selected-frame))
(set-face-foreground 'region "black" (selected-frame))
(set-face-foreground 'modeline "yellow" (selected-frame) )
(set-face-background 'modeline "black" (selected-frame) )
)
(defun blue () (interactive)
(set-mouse-color "cyan3")
(set-cursor-color "cyan3")
(set-foreground-color "cyan3")
(set-background-color "darkslateblue")
(set-face-background 'region "LightGoldenrod4" (selected-frame))
(set-face-foreground 'region "cyan3" (selected-frame))
(set-face-foreground 'modeline "darkslateblue" (selected-frame) )
(set-face-background 'modeline "cyan3" (selected-frame) )
)
(defun green () (interactive)
(set-mouse-color "green")
(set-cursor-color "cyan3")
(set-foreground-color "yellow")
(set-background-color "dark green")
(set-face-background 'region "grey" (selected-frame))
(set-face-foreground 'region "black" (selected-frame))
(set-face-foreground 'modeline "white" (selected-frame) )
(set-face-background 'modeline "black" (selected-frame) )
)
(defun black () (interactive)
(set-mouse-color "green")
(set-cursor-color "firebrick3")
(set-foreground-color "sky blue")
(set-background-color "black")
(set-face-background 'region "grey" (selected-frame))
(set-face-foreground 'region "black" (selected-frame))
(set-face-foreground 'modeline "white" (selected-frame) )
(set-face-background 'modeline "black" (selected-frame) )
)
(defun red () (interactive)
(set-mouse-color "black")
(set-cursor-color "black")
(set-foreground-color "red")
(set-background-color "grey80")
(set-face-background 'region "grey" (selected-frame))
(set-face-foreground 'region "black" (selected-frame))
(set-face-foreground 'modeline "white" (selected-frame) )
(set-face-background 'modeline "black" (selected-frame) )
)
(black)
(set-default-font "*-courier-medium-r-*-*-12-*-*-*-m*")
(menu-bar-mode 1) ; turn it back on
(defvar color-menu (make-sparse-keymap "Colors"))
(define-key global-map [menu-bar Color] (cons "Color" color-menu))
(define-key color-menu [white] '("White" . white))
(define-key color-menu [blue] '("Blue" . blue))
(define-key color-menu [green] '("Green" . green))
(define-key color-menu [black] '("Black" . black))
(define-key color-menu [red] '("Red" . red))
))
This lets me change colors to suit my mood. What can I put in
the defuns to change gnus colors appropriately? (And, in a non-gnus
emacs question, how can I set one of the color schemes and the font as
the default for all frames, not just the first one?)
Sten
P.S. Sorry if there were mail bounces on the list from me today. Our
mail gateway screwed up the aliases. );
--
#include <disclaimer.h> /* Sten Drescher */
To get my PGP public key, send me email with your public key and
Subject: PGP key exchange
Key fingerprint = 90 5F 1D FD A6 7C 84 5E A9 D3 90 16 B2 44 C4 F3
^ permalink raw reply [flat|nested] 4+ messages in thread