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: Custom themes Date: Mon, 11 Oct 2010 01:15:34 -0400 Message-ID: <87r5fxnwcp.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286774165 5290 80.91.229.12 (11 Oct 2010 05:16:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2010 05:16:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 11 07:16:03 2010 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.69) (envelope-from ) id 1P5Ajt-00077K-4z for ged-emacs-devel@m.gmane.org; Mon, 11 Oct 2010 07:15:59 +0200 Original-Received: from localhost ([127.0.0.1]:34789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Ajn-0000HI-Oa for ged-emacs-devel@m.gmane.org; Mon, 11 Oct 2010 01:15:51 -0400 Original-Received: from [140.186.70.92] (port=47628 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Ajc-0000Gr-SI for emacs-devel@gnu.org; Mon, 11 Oct 2010 01:15:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5Ajb-0007eo-Oo for emacs-devel@gnu.org; Mon, 11 Oct 2010 01:15:40 -0400 Original-Received: from pantheon-po43.its.yale.edu ([130.132.50.104]:52280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5Ajb-0007ef-Mz for emacs-devel@gnu.org; Mon, 11 Oct 2010 01:15:39 -0400 Original-Received: from furry (adsl-99-111-197-225.dsl.wlfrct.sbcglobal.net [99.111.197.225]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o9B5FYhr020158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 11 Oct 2010 01:15:37 -0400 Original-Received: by furry (Postfix, from userid 1000) id 821F8C018; Mon, 11 Oct 2010 01:15:34 -0400 (EDT) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:131595 Archived-At: Just a heads-up: I've mentioned before that I'd like to include some easy way for newbies to choose a different color scheme, similar to what color-theme.el does. However, instead of including color-theme.el, I'm writing an independent implementation. (I haven't been able to get in contact with the color-theme.el maintainer, and anyway there are just too many contributors to color-theme.el to track down for assignment.) This code will be based on the existing Custom theme code, so most of the heavy lifting has been done. Emacs looks for Custom themes in .emacs.d and the load path; a theme named "foo" is looked for in foo-theme.el. I'm currently not sure whether the default selection of themes distributed with Emacs should be in a subdirectory in etc/, or in lisp/. Note, also, that because the package manager adds to the load-path, it is possible to distribute Custom themes, or collections of themes, as packages, which is nice.