help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: overriding my own emacs color settings


From: Miles Bader
Subject: Re: overriding my own emacs color settings
Date: 14 Aug 2002 10:42:39 +0900

address@hidden (Tad Marko) writes:
> Is there any way to tell emacs to either use a different set of colors
> on a text console, or just to go b&w and forget about it all together?

Emacs has a system to choose different face definitions depending on
the display; how to use it depends on how you're redefining faces.

If you're using customize-face to change an existing face, you can
select `Show All Face Specs' using the `State' button, which will then
create a more complex widget that allows this.

If you're creating your own faces with `defface', see the documentation
for that function; as an example, though, here's the definition of the
`region' face:

   (defface region
     '((((type tty) (class color))
        :background "blue" :foreground "white")
       (((type tty) (class mono))
        :inverse-video t)
       (((class color) (background dark))
        :background "blue3")
       (((class color) (background light))
        :background "lightgoldenrod2")
       (t :background "gray")))

-Miles
-- 
Occam's razor split hairs so well, I bought the whole argument!




reply via email to

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