[Top][All Lists]

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

Re: Why min-colors 88?

From: Stefan Monnier
Subject: Re: Why min-colors 88?
Date: Sun, 05 Feb 2006 08:42:16 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> Can anyone explain the magic number 88 to me? Why is this used
>>> throughout Emacs? Why is this the default generated when
>>> customizing a face (on devices with lots of colors)?
>> Because there's an 88-color xterm whose color set is rich enough to
>> support all the colors we use in Emacs' faces.

> Or in other words, Emacs' has 88 faces?

Well, 88 foreground * 88 background * 2 slants * 2 darknesses * a bunch of
sizes * a handful of fonts (* 89 colors of underlining * ...) is slightly
more than 88.
Then add to it the fact that many faces are identical.


reply via email to

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