From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: Color themes Date: Tue, 11 Aug 2009 02:32:17 +0100 Organization: University of Cambridge Message-ID: 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> <87ljlrmdtj.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249954371 2633 80.91.229.12 (11 Aug 2009 01:32:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 01:32:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 11 03:32:44 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 1MagEF-0001CF-Co for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 03:32:43 +0200 Original-Received: from localhost ([127.0.0.1]:46268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MagEE-0007VE-4x for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 21:32:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MagE9-0007V9-38 for emacs-devel@gnu.org; Mon, 10 Aug 2009 21:32:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MagE3-0007Ux-K6 for emacs-devel@gnu.org; Mon, 10 Aug 2009 21:32:35 -0400 Original-Received: from [199.232.76.173] (port=53424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MagE3-0007Uu-Gq for emacs-devel@gnu.org; Mon, 10 Aug 2009 21:32:31 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:46250 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MagE3-00020L-5Y for emacs-devel@gnu.org; Mon, 10 Aug 2009 21:32:31 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MagDy-0005r5-WA for emacs-devel@gnu.org; Tue, 11 Aug 2009 01:32:27 +0000 Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2009 01:32:26 +0000 Original-Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Aug 2009 01:32:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:WQawdZofz1k3HxNZoxZ1GfyUekw= 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:114014 Archived-At: On 2009-08-11 00:48 +0100, Juri Linkov wrote: >> 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. Well if you consider that a palette, it is one forced by the limitation of the terminal. So you can't carefully pick good colours to form a palette for text editing. -- Leo's Emacs uptime: 7 days, 1 hour, 1 minute, 39 seconds