From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Custom themes Date: Wed, 29 Jun 2005 16:43:00 -0400 Message-ID: References: <200506250127.j5P1RWJ11778@raven.dms.auburn.edu> <871x6nytam.fsf-monnier+emacs@gnu.org> <200506290317.j5T3H5W25729@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120078381 27035 80.91.229.2 (29 Jun 2005 20:53:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2005 20:53:01 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 22:53:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnjXJ-0003PZ-6K for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 22:51:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnjfO-0002Hp-Aa for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 17:00:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dnjby-000192-OG for emacs-devel@gnu.org; Wed, 29 Jun 2005 16:56:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dnjbr-00015Z-Af for emacs-devel@gnu.org; Wed, 29 Jun 2005 16:56:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dnjbp-0000x5-UO for emacs-devel@gnu.org; Wed, 29 Jun 2005 16:56:38 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DnjUz-0001ZO-0l for emacs-devel@gnu.org; Wed, 29 Jun 2005 16:49:33 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DnjOe-00072N-59; Wed, 29 Jun 2005 16:43:00 -0400 Original-To: Luc Teirlinck In-reply-to: <200506290317.j5T3H5W25729@raven.dms.auburn.edu> (message from Luc Teirlinck on Tue, 28 Jun 2005 22:17:05 -0500 (CDT)) 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:39907 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39907 Unfortunately, after taking a closer look at it, things are way worse than I originally thought. It does not appear that there is _any_ support for undoing the requiring of an individual theme in the current code. You can apparently more or less undo all themes together (although you have to ask to undo one single theme to get that effect), but one can not undo just one particular theme. That sounds easy to solve. Suppose you have enabled themes A, B and C. To undo theme A, you undo them all, then reapply B and C. The docstring contadicts itself. A variable remains _un_changed if... A face remains _un_changed if... In either case, the variable or face _is_ changed to the 'user' theme. Which of the two? What happens in other cases? Not only do both statements in the docstring say opposite things, they are _both_ wrong. Can you fix that doc string to be accurate? Then you could easily implement a command to undo one theme using the method I suggested above.