From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Color themes Date: Fri, 29 Feb 2008 18:23:31 -0500 Message-ID: <874pbrcpos.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204327530 22983 80.91.229.12 (29 Feb 2008 23:25:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 23:25:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 01 00:25:56 2008 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 1JVEbw-0000x4-Uh for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 00:25:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVEbQ-0005vP-EQ for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 18:25:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVEbN-0005vG-2w for emacs-devel@gnu.org; Fri, 29 Feb 2008 18:25:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVEbL-0005v0-Lp for emacs-devel@gnu.org; Fri, 29 Feb 2008 18:25:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVEbL-0005ux-Ic for emacs-devel@gnu.org; Fri, 29 Feb 2008 18:25:15 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVEbL-0000eK-Bn for emacs-devel@gnu.org; Fri, 29 Feb 2008 18:25:15 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id AA1254E3F9; Fri, 29 Feb 2008 18:23:31 -0500 (EST) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:90926 Archived-At: Many of you are probably aware of a package called color-theme.el, currently maintained by Xavier Maillard. This package provides a relatively easy way to choose from a list of pre-selected "color themes" for font-lock keywords. I think this kind of functionality would be good. For new users who dislike the default color palette, there's currently no easy way to choose a different palette. Ideally, there should be a submenu in the menu-bar, under Options, to select a color theme (or whatever we end up calling it). However, I'm ambivalent about how color-theme.el is written. From a perfunctory inspection of the code, it looks like it sets up some infrastructure for defining color-themes that I'm not sure is a good fit for Emacs. In particular, it might be cleaner to define color themes using Custom Themes, which were implemented in Emacs 22 and meshes with the Customize facility. I might be wrong, however, so comments are welcome. At this early stage, I haven't looked into the copyright assignment issue for color-theme.el. Assuming papers aren't a problem, I'm thinking we could absorb part of the color-theme project, i.e. the color settings that they've collected, and rewrite the theme-choosing infrastructure based on Custom Themes. Any thoughts?