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: color-theme.el Date: Sat, 24 Aug 2002 18:50:14 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <87r8goqjzt.fsf@emacswiki.org> References: <20020824043224.GC20524@reactor-core.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030207764 15836 127.0.0.1 (24 Aug 2002 16:49:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 Aug 2002 16:49:24 +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 17ie6F-00047J-00 for ; Sat, 24 Aug 2002 18:49:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ieaB-0007TR-00 for ; Sat, 24 Aug 2002 19:20:19 +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 17ie7T-0004Vq-00; Sat, 24 Aug 2002 12:50:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17ie5b-0004I5-00 for emacs-devel@gnu.org; Sat, 24 Aug 2002 12:48:43 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17ie5Z-0004Ht-00 for emacs-devel@gnu.org; Sat, 24 Aug 2002 12:48:42 -0400 Original-Received: from relay03.cablecom.net ([62.2.33.103]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17ie5Y-0004Ho-00 for emacs-devel@gnu.org; Sat, 24 Aug 2002 12:48:40 -0400 Original-Received: from smtp.swissonline.ch (mail-4.swissonline.ch [62.2.32.85]) by relay03.cablecom.net (8.12.5/8.12.5/SOL/AWF/MXRELAY/20020820) with ESMTP id g7OGmYMO040864 for ; Sat, 24 Aug 2002 18:48:38 +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 g7OGmYH24099 for ; Sat, 24 Aug 2002 18:48:35 +0200 (MEST) Original-Received: from alex by confusibombus with local (Exim 3.35 #1 (Debian)) id 17ie75-0001kD-00 for ; Sat, 24 Aug 2002 18:50:15 +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: <20020824043224.GC20524@reactor-core.org> (Jonathan Walther's message of "Fri, 23 Aug 2002 21:32:24 -0700") Original-Lines: 28 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:6844 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6844 Jonathan Walther writes: > May I also take this time to ask that color-theme.el be added to the > Emacs distribution. A long time ago, I tried fiddling with the source Jan Vroonhofer wrote for XEmacs in order to integrate "themes" with custom. I also sent the code to Dave Love at the time. My color-theme.el does not use this custom theme stuff, it implements themes by just redefining faces, frame parameters, etc. And I don't feel like getting the custom-theme stuff to work anymore. As far as I am concerned, these last years have shown that there is just no need for that. One minor problem that remains unsolved (but which I do not care about) is non-perfect "undoing". "undoing" the installation of a theme happens by storing away snapshots of the faces and frame parameters currently defined. Invariably, this leads to small inconsistencies. Example: Emacs starts, n faces are defined. When install a color-theme, this creates a snapshot with n faces and installs the new theme. This theme probably defines m faces, where m > n. When we uninstall the theme, n faces are reset (because only n are stored in the snapshot). The new faces (m - n) remain as defined in the theme. Anyway, that is the current situation. As to the paperwork, I have the email addresses of all theme authors on file, so I could arrange the paperwork. Alex.