From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William G. Gardella" Newsgroups: gmane.emacs.help Subject: Re: RFC: Flavors - naming significant sets of customizations Date: Tue, 26 Nov 2013 02:12:09 +0000 Message-ID: <87zjorap3a.fsf@motoko.kusanagi> References: <9fc6b1ae-7cbd-4a17-a9a0-f4af42969312@googlegroups.com> <87pppo2q16.fsf@djcbsoftware.nl> <0363e370-eb7a-4d41-a09d-f16f40499e7e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385431956 6589 80.91.229.3 (26 Nov 2013 02:12:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 02:12:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 03:12:42 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 1Vl88o-0001am-49 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 03:12:42 +0100 Original-Received: from localhost ([::1]:55947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl88n-0004rS-IC for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Nov 2013 21:12:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl88Z-0004rN-Lt for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 21:12:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vl88U-0001dU-Pv for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 21:12:27 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:56203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vl88U-0001cO-Gm for help-gnu-emacs@gnu.org; Mon, 25 Nov 2013 21:12:22 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vl88S-0001RG-Rd for help-gnu-emacs@gnu.org; Tue, 26 Nov 2013 03:12:20 +0100 Original-Received: from manning1.torservers.net ([96.44.189.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Nov 2013 03:12:20 +0100 Original-Received: from wgg2 by manning1.torservers.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Nov 2013 03:12:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: manning1.torservers.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:C99/J1q/leUN8sAEvYH32Xgv3H8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:94640 Archived-At: Drew Adams writes: >> > 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 already >> > chosen theme, with all the non-overridden settings still active. >> >> Maybe I don't understand, but it sounds like a bug. > > It is. Bug ##15687: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15687 > >> 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. Actually, there is: (disable-theme 'foo-theme), or globally, (mapcar 'disable-theme 'custom-enabled-themes). This functionality is also already exposed by the M-x customize-themes GUI, which defaults to disabling enabled themes for enabling a new one. The "bug", if there is one, is simply that the UI doesn't expose this nicely (in fact, doesn't expose it nicely for experienced users such as yourself to notice it).