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

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

Re: GREAT COLORS IN TEXT MODE! but default foreground colors not respect


From: Eli Zaretskii
Subject: Re: GREAT COLORS IN TEXT MODE! but default foreground colors not respected
Date: Thu, 15 Nov 2001 10:23:33 +0200 (IST)

On 14 Nov 2001, Daniel Ortmann wrote:

> Ok, the "emacs -q --no-site-file" command shows my desired colors.  The
> variable window-system is still nil as expected.  The customize-face
> command shows 400+ lines of faces without a window-system, surprising
> me.

The support for colors on a tty is done by implementing faces support
for text termicals.  So if you have any other customizations which
assume that faces or colors are no-ops when window-system is nil, you
should review these customizations.

If you need to distinguish between a tty and a graphics display, I
suggest using the function display-color-cells, which returns the
number of supported colors (on a tty, you will typically see 8 as the
result).



reply via email to

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