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: Sun, 01 Sep 2002 02:05:10 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <87u1la4ls9.fsf@emacswiki.org> References: <20020824043224.GC20524@reactor-core.org> <87r8goqjzt.fsf@emacswiki.org> <87vg5vlwlr.fsf@emacswiki.org> <87ofbmomnm.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 1030838656 25380 127.0.0.1 (1 Sep 2002 00:04:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 1 Sep 2002 00:04:16 +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 17lIDv-0006bF-00 for ; Sun, 01 Sep 2002 02:04:15 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17lIlO-0003Qc-00 for ; Sun, 01 Sep 2002 02:38:51 +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 17lIFO-00089v-00; Sat, 31 Aug 2002 20:05:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17lID1-00080M-00 for emacs-devel@gnu.org; Sat, 31 Aug 2002 20:03:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17lICy-0007y0-00 for emacs-devel@gnu.org; Sat, 31 Aug 2002 20:03:18 -0400 Original-Received: from relay03.cablecom.net ([62.2.33.103]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lICy-0007wP-00 for emacs-devel@gnu.org; Sat, 31 Aug 2002 20:03:16 -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 g8103EMO025869 for ; Sun, 1 Sep 2002 02:03:14 +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 g8103EH12748 for ; Sun, 1 Sep 2002 02:03:14 +0200 (MEST) Original-Received: from alex by confusibombus with local (Exim 3.35 #1 (Debian)) id 17lIEp-0000D3-00 for ; Sun, 01 Sep 2002 02:05:11 +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 "Sat, 31 Aug 2002 12:58:11 -0400") Original-Lines: 44 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:7229 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7229 Richard Stallman writes: > This may not be a very large job, but the first part is not > trivial--do you want to do it? I might want to do this; however... > As for the feature of using multiple themes, of being able to add and > remove themes from the list and have the right thing happen, I think I > see an easy way to add that. We just have to make sure that each > theme function saves the old values of the variables that it sets, so > that it can "turn itself off" later on. If you want the feature, then we should test and use the cus-theme.el I sent to Dave Love some time ago. My argument was that we did not need the feature, therefore why bother with the code. If you want the feature, however, then there is no use in reinventing it. We might as well use the existing code. As to color-theme.el, I therefore propose not to add it until cus-theme.el is working. Then we can use color-theme.el as the first major test for the cus-theme.el code. > Your scheme won't integrate cleanly with customize (the option will be > marked "rogue", i.e. "option is changed outside customize"), which is > my major emotional problem with it. > > Would it be difficult to create a new status value, "set by a theme"? > theme-setq could mark the variable with this status. I think cus-theme.el does this, but I am not sure anymore. I currently do not have the code. I wiped my disk at Easter by accident and lost a lot of stuff. And I did not do backups. So I'd have to ask Dave Love for a copy, or find an archive of the custom mailing list. I will mail Dave to see wether he still has it. > Meanwhile, would anyone be willing to step forward to integrate > cus-theme.el into Emacs? The first step would be to install the code locally and play with it. The work has already been done. Alex.