From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: color-theme.el Date: Mon, 02 Sep 2002 22:37:49 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <87wuq4cele.fsf@emacswiki.org> References: <20020824043224.GC20524@reactor-core.org> <87r8goqjzt.fsf@emacswiki.org> <87vg5vlwlr.fsf@emacswiki.org> <87ofbmomnm.fsf@emacswiki.org> <87u1la4ls9.fsf@emacswiki.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030998952 17029 127.0.0.1 (2 Sep 2002 20:35:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2002 20:35:52 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17lxvL-0004QY-00 for ; Mon, 02 Sep 2002 22:35:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17lyTi-0000Gh-00 for ; Mon, 02 Sep 2002 23:11:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lxwm-0005oM-00; Mon, 02 Sep 2002 16:37:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17lxvH-0005n5-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 16:35:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17lxvE-0005mt-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 16:35:45 -0400 Original-Received: from relay01.cablecom.net ([62.2.33.101]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lxvD-0005mp-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 16:35:44 -0400 Original-Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay01.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g82KZg20022780 for ; Mon, 2 Sep 2002 22:35:42 +0200 (CEST) (envelope-from alex@emacswiki.org) Original-Received: from confusibombus (dclient217-162-239-43.hispeed.ch [217.162.239.43]) by smtp.swissonline.ch (8.11.6/8.11.6/SMTPSOL/AWF/2002040101) with ESMTP id g82KZfH06749 for ; Mon, 2 Sep 2002 22:35:41 +0200 (MEST) Original-Received: from alex by confusibombus with local (Exim 3.35 #1 (Debian)) id 17lxxF-00008x-00 for ; Mon, 02 Sep 2002 22:37:49 +0200 Original-To: emacs-devel@gnu.org X-Face: ^BC$`[IcggstLPyen&dqF+b2'zyK#r.mU*'Nms}@&4zw%SJ#5!/7SMVjBS7'lb;QK)|IPU5U'o1'522W4TyzB3Ab*IBo^iw]l4|kUbdZuUDO6=Um-.4IzhNiV'B"@K#jy_(wW|Zbk[34flKY^|PrQ?$u2\fKg^]AY>wOX#H32i In-Reply-To: (Richard Stallman's message of "Sun, 01 Sep 2002 20:01:31 -0400") Original-Lines: 47 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.90 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7342 Richard Stallman writes: > Are you saying that cus-theme.el is a simple implementation of this > feature, and nothing more? cus-theme.el is an implementation of this complex feature. Every customizable variable has a property has an alist that associates themes with value like a history. > If that's the case, then it does seem like this could be the code to > use. However, the other things that have been said about > cus-theme.el give the impression that it is not so simple. Well, cus-theme.el implements a complex feature. I did not want to argue against cus-theme.el because its implementation was byzantine. I argued against cus-theme.el because it implements a feature that is useless to most if not all users. Other people such as Per seem to want this feature, and you offered an idea to implement this feature. If people want his feature, then cus-theme.el is the way to go. In fact, all other solutions will eventually do what cus-theme.el already does. Therefore I think cus-theme.el is our best bet -- *if* we want this feature. cus-theme.el will need some improvements eventually to be able to use this feature to its fullest. Integrating cus-theme.el will allow us to build on it, improve it, and use it for applications such as color-theme.el -- since I will switch to using cus-theme.el if and only if it is integrated into Emacs. Eventhough cus-theme.el is currently not perfect, it fails in ways that custom generally fails already: alists (default-frame-alist and friends in particular) are problematic, frame local variables are not supported, the only user interface that allows users to create themes without writing the elisp by hand is my make-theme, which is very simple, and there is currently no user interface (except for calling the relevant commands manually using M-x) to manage themes (installing and deinstalling them). > Dave, could you email me the cus-theme.el file that Alex sent you, so > I can take a look for myself? You will need all the other cus*.el files as well, because they are all affected. Remeber, all variables and faces now maintain an alist of theme-value associations. Alex.