From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.mail.mh-e.devel,gmane.emacs.devel Subject: Re: Why min-colors 88? Date: Sun, 05 Feb 2006 08:42:16 -0500 Message-ID: <877j8aj58w.fsf-monnier+emacs@gnu.org> References: <851.1138996246@olgas.newt.com> <87wtgapbup.fsf@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 1139146986 2310 80.91.229.2 (5 Feb 2006 13:43:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2006 13:43:06 +0000 (UTC) Cc: emacs-devel@gnu.org, mh-e-devel@lists.sourceforge.net Original-X-From: mh-e-devel-admin@lists.sourceforge.net Sun Feb 05 14:43:05 2006 Return-path: Envelope-to: gmmd-mh-e-devel@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5kAS-0000Hx-7O for gmmd-mh-e-devel@m.gmane.org; Sun, 05 Feb 2006 14:43:04 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 5F92A12830; Sun, 5 Feb 2006 05:43:03 -0800 (PST) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F5k9p-0005GV-9R for mh-e-devel@lists.sourceforge.net; Sun, 05 Feb 2006 05:42:25 -0800 Original-Received: from tomts36.bellnexxia.net ([209.226.175.93] helo=tomts36-srv.bellnexxia.net) by mail.sourceforge.net with esmtp (Exim 4.44) id 1F5k9n-0002nj-KZ for mh-e-devel@lists.sourceforge.net; Sun, 05 Feb 2006 05:42:25 -0800 Original-Received: from alfajor ([67.71.25.142]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060205134217.GLNG5032.tomts36-srv.bellnexxia.net@alfajor>; Sun, 5 Feb 2006 08:42:17 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id CAC2DD7466; Sun, 5 Feb 2006 08:42:16 -0500 (EST) Original-To: Bill Wohler In-Reply-To: <87wtgapbup.fsf@olgas.newt.com> (Bill Wohler's message of "Sat, 04 Feb 2006 22:18:38 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Original-Sender: mh-e-devel-admin@lists.sourceforge.net Errors-To: mh-e-devel-admin@lists.sourceforge.net X-BeenThere: mh-e-devel@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: Forum for the MH-E developers List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Sun, 05 Feb 2006 08:42:16 -0500 Xref: news.gmane.org gmane.mail.mh-e.devel:11577 gmane.emacs.devel:50039 Archived-At: >>> 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. Stefan ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642