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: RFC: Flavors - naming significant sets of customizations Date: Mon, 25 Nov 2013 13:11:12 -0800 (PST) Message-ID: <0363e370-eb7a-4d41-a09d-f16f40499e7e@default> References: <9fc6b1ae-7cbd-4a17-a9a0-f4af42969312@googlegroups.com> <87pppo2q16.fsf@djcbsoftware.nl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1385413896 32506 80.91.229.3 (25 Nov 2013 21:11:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2013 21:11:36 +0000 (UTC) To: Stefan Monnier , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 25 22:11:41 2013 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 1Vl3RU-0008SA-CT for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 22:11:40 +0100 Original-Received: from localhost ([::1]:55056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl3RT-0006bW-RP for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 16:11:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl3RD-0006b0-4R for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 16:11:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl3R6-0002Sd-BA for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 16:11:23 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:37822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl3R6-0002ST-4Z for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 16:11:16 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rAPLBEG6005920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 Nov 2013 21:11:14 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAPLBCBY021676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Nov 2013 21:11:13 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rAPLBCX0007014; Mon, 25 Nov 2013 21:11:12 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:94632 Archived-At: > > However, themes are not very 'hygienic' -- you cannot easily roll back = a > > whole theme; when you choose a new theme, it works on top of the alread= y > > chosen theme, with all the non-overridden settings still active. >=20 > Maybe I don't understand, but it sounds like a bug. It is. Bug ##15687: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15687 > Or maybe a mis-use: custom themes *can* be stacked, so if you want to > replace a previous theme with a new one, then you need to remove the old > and add the new one. Maybe the UI needs some work to make it more clear > (and make it easier to switch between themes). The bug is not the fact that you can accumulate the effects of multiple custom themes. The bug is the fact that you cannot restore the state of Emacs before any theme was applied. There is no way to take a snapshot of Emacs before theming and then restore to that. You can add themes, for a cumulative effect, or you can replace the use of one theme by another, but you cannot undo a theme, i.e., you cannot untheme. Such undoing was, and still is, trivial to accomplish with color themes: http://www.nongnu.org/color-theme/. This is the main reason that it is wrong to think of Emacs custom themes as replacing color themes or, as is commonly stated, the former make the latter obsolete. So far, each has some advantages over the other.