From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel,gmane.mail.mh-e.devel Subject: Re: Why min-colors 88? Date: Sun, 05 Feb 2006 09:05:49 -0800 Organization: Newt Software Message-ID: <14491.1139159149@olgas.newt.com> References: <851.1138996246@olgas.newt.com> <87wtgapbup.fsf@olgas.newt.com> <877j8aj58w.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1139159246 9888 80.91.229.2 (5 Feb 2006 17:07:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2006 17:07:26 +0000 (UTC) Cc: mh-e-devel@lists.sourceforge.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 05 18:07:22 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 1F5nM4-00044r-8l for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2006 18:07:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5nPH-0001MC-O5 for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2006 12:10:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F5nO1-0000cC-1q for emacs-devel@gnu.org; Sun, 05 Feb 2006 12:09:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F5nNz-0000ae-1X for emacs-devel@gnu.org; Sun, 05 Feb 2006 12:09:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5nNy-0000aM-Je for emacs-devel@gnu.org; Sun, 05 Feb 2006 12:09:14 -0500 Original-Received: from [207.69.195.64] (helo=pop-knobcone.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F5nNN-00028R-QZ for emacs-devel@gnu.org; Sun, 05 Feb 2006 12:08:37 -0500 Original-Received: from h-68-166-37-175.snvacaid.dynamic.covad.net ([68.166.37.175] helo=olgas.newt.com) by pop-knobcone.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1F5nKg-0005Vi-00; Sun, 05 Feb 2006 12:05:51 -0500 Original-Received: by olgas.newt.com (Postfix, from userid 1000) id B5DD217005; Sun, 5 Feb 2006 09:05:49 -0800 (PST) Original-Received: from olgas.newt.com (localhost [127.0.0.1]) by olgas.newt.com (Postfix) with ESMTP id B19D617004; Sun, 5 Feb 2006 09:05:49 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: Stefan Monnier's message of Sun, 05 Feb 2006 08:42:16 EST. <877j8aj58w.fsf-monnier+emacs@gnu.org> X-Mailer: MH-E 7.91+cvs; nmh 1.1; GNU Emacs 22.0.50.4 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png Mail-Followup-To: emacs-devel@gnu.org, mh-e-devel@lists.sourceforge.net 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:50041 gmane.mail.mh-e.devel:11578 Archived-At: 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. -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.