From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Load color-theme in init.el Date: Wed, 15 Aug 2012 14:18:24 -0700 Message-ID: References: <6a95b452-a586-45bd-970a-98f2b356669f@googlegroups.com> <20120815203705.GA19002@kuru.dyndns-at-home.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345065521 9746 80.91.229.3 (15 Aug 2012 21:18:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2012 21:18:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, 'Patrick Wang' , 'Nathan LeClaire' To: "'Suvayu Ali'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 23:18:41 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1kzA-0001LG-5s for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 23:18:40 +0200 Original-Received: from localhost ([::1]:47034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1kz9-0008Uc-62 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 17:18:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1kz4-0008UL-8h for help-gnu-emacs@gnu.org; Wed, 15 Aug 2012 17:18:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1kz3-0008Ny-AR for help-gnu-emacs@gnu.org; Wed, 15 Aug 2012 17:18:34 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:44753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1kz3-0008Nq-48 for help-gnu-emacs@gnu.org; Wed, 15 Aug 2012 17:18:33 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q7FLITSg024095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 15 Aug 2012 21:18:30 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q7FLIRRF022160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Aug 2012 21:18:27 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q7FLIQmr003902; Wed, 15 Aug 2012 16:18:26 -0500 Original-Received: from dradamslap1 (/130.35.178.248) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 15 Aug 2012 14:18:26 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20120815203705.GA19002@kuru.dyndns-at-home.com> Thread-Index: Ac17JcAR3W70vqlLTD6NUtSJd/HIrwABAmEg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86359 > > > I finally figured out that apparently in Emacs 24 > > > color-theme is (slightly?) deprecated. > > > > No, color-theme is not at all deprecated. It has never > > been part of GNU Emacs, so GNU Emacs cannot deprecate it. > > It is a third-party library, color-theme.el, and it is still > > available AFAIK. > > I believe starting with the following commit: > > commit 2faa2c5d69f36c29cdd3b654f4cc9c4b89c81e5a > Author: Chong Yidong > Date: Mon Apr 23 02:04:54 2012 +0800 > * faces.el (face-spec-set): Stop supporting deprecated > form of third arg. > > color-theme stopped working properly with Emacs 24. I switched to > custom-theme soon after, so I don't know if the situation has changed. OK, good to know, I guess. You are reporting that color-theme.el no longer works with GNU Emacs. Sorry to hear that. I was reporting only that (a) GNU Emacs cannot deprecate color-theme.el (by definition) and (b) color-theme.el is still available. But it should be straightforward to update color-theme.el to no longer use `face-spec-set' (said without bothering to look at the code), should anyone want to do that. It should be enough to use `face-set-attribute' (and perhaps `face-spec-chooose'), to replace using `face-spec-set'. Of course, there is no guarantee that with just that change color-theme.el will work with Emacs 24. On n'arrete pas le progres...