From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.mail.mh-e.devel Subject: Re: Why min-colors 88? Date: Sun, 05 Feb 2006 10:49:10 -0800 Message-ID: <200602051849.k15InA6t013797@scanner2.ics.uci.edu> References: <851.1138996246@olgas.newt.com> <87wtgapbup.fsf@olgas.newt.com> <877j8aj58w.fsf-monnier+emacs@gnu.org> <14491.1139159149@olgas.newt.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139165486 31192 80.91.229.2 (5 Feb 2006 18:51:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2006 18:51:26 +0000 (UTC) Cc: mh-e-devel@lists.sourceforge.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 05 19:51:25 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5oyp-0006p0-M5 for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2006 19:51:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5p26-00041v-24 for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2006 13:54:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F5p1c-0003x5-00 for emacs-devel@gnu.org; Sun, 05 Feb 2006 13:54:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F5p1b-0003wg-26 for emacs-devel@gnu.org; Sun, 05 Feb 2006 13:54:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5p1a-0003wc-V5 for emacs-devel@gnu.org; Sun, 05 Feb 2006 13:54:15 -0500 Original-Received: from [128.195.1.36] (helo=scanner2.ics.uci.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F5p10-0002XB-RP for emacs-devel@gnu.org; Sun, 05 Feb 2006 13:53:39 -0500 Original-Received: from vino.ics.uci.edu (vino.ics.uci.edu [128.195.11.198]) by scanner2.ics.uci.edu (8.13.5/8.13.5) with ESMTP id k15InA6t013797; Sun, 5 Feb 2006 10:49:10 -0800 (PST) Original-To: emacs-devel@gnu.org Original-Lines: 22 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@vino.ics.uci.edu X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50053 gmane.mail.mh-e.devel:11579 Archived-At: Bill Wohler writes: > Stefan Monnier wrote: > > > >>> 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. > > Whoops, I meant to say 88 different colors in all of its faces. No, (min-colors 88) means that the device that emacs uses for display guarantees that it can display at least 88 distinct colors.