From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Color themes Date: Tue, 11 Aug 2009 02:48:28 +0300 Organization: JURTA Message-ID: <87ljlrmdtj.fsf@mail.jurta.org> References: <87d47hoox5.fsf@stupidchicken.com> <87hbwp32ep.fsf@catnip.gol.com> <432BC810AC84409882C7E7FB5183D8DD@us.oracle.com> <8763d516ox.fsf@mail.jurta.org> <874osim3df.fsf_-_@mail.jurta.org> <87d475lmc1.fsf@cyd.mit.edu> <874oshx8p2.fsf@cyd.mit.edu> <20a0c1020908100212p32dd463ao8a9a33d7edbf960f@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249952096 14859 80.91.229.12 (11 Aug 2009 00:54:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 00:54:56 +0000 (UTC) Cc: David De La Harpe Golden , Chong Yidong , Lennart Borgman , joakim@verona.se, emacs-devel@gnu.org, Dan Nicolaescu , Stefan Monnier , Leo , Drew Adams , Miles Bader To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 11 02:54:48 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MafdX-0008Q2-OP for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 02:54:48 +0200 Original-Received: from localhost ([127.0.0.1]:38962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MafdW-0007PR-P3 for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 20:54:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mafbu-0006Fp-OA for emacs-devel@gnu.org; Mon, 10 Aug 2009 20:53:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mafbp-00062L-JJ for emacs-devel@gnu.org; Mon, 10 Aug 2009 20:53:05 -0400 Original-Received: from [199.232.76.173] (port=47893 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mafbp-00061h-B7 for emacs-devel@gnu.org; Mon, 10 Aug 2009 20:53:01 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:37497 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mafbk-00022C-KF; Mon, 10 Aug 2009 20:52:56 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.28.100.cable.starman.ee [82.131.28.100]) by mx1.starman.ee (Postfix) with ESMTP id 15A3E3F411A; Tue, 11 Aug 2009 03:52:44 +0300 (EEST) In-Reply-To: <20a0c1020908100212p32dd463ao8a9a33d7edbf960f@mail.gmail.com> (Leo's message of "Mon, 10 Aug 2009 10:12:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114011 Archived-At: > I am thinking about if each buffer is an icon, how to make sure they > look like, for example, tango by using the 28 colors in its style > guide only. Color themes and palettes are different things but both are useful. A color theme redefines every face individually whereas a palette reduces them to a list of predefined colors. Actually, Emacs already has palette support on text-only terminals with a small number of colors with the help of the function `tty-color-approximate' that finds the closest color among the known colors. -- Juri Linkov http://www.jurta.org/emacs/