From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William G. Gardella" Newsgroups: gmane.emacs.bugs Subject: bug#15687: 24.3.50; custom themes: disabling does not restore initial configuration Date: Tue, 26 Nov 2013 18:47:32 +0000 Message-ID: <87d2ln9f0b.fsf@motoko.kusanagi> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1385491755 16784 80.91.229.3 (26 Nov 2013 18:49:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 18:49:15 +0000 (UTC) Cc: 15687@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 26 19:49:19 2013 Return-path: Envelope-to: geb-bug-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 1VlNhG-0005Cp-W1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 19:49:19 +0100 Original-Received: from localhost ([::1]:60485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlNhG-0002Wu-Lj for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Nov 2013 13:49:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlNh8-0002Nh-R6 for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 13:49:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlNh0-0005Lk-JV for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 13:49:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlNh0-0005Lg-Gi for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 13:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VlNh0-0005Uy-2b for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 13:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "William G. Gardella" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Nov 2013 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138549168521045 (code B ref -1); Tue, 26 Nov 2013 18:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Nov 2013 18:48:05 +0000 Original-Received: from localhost ([127.0.0.1]:46295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VlNg4-0005TN-LP for submit@debbugs.gnu.org; Tue, 26 Nov 2013 13:48:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50306) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VlNg3-0005St-1M for submit@debbugs.gnu.org; Tue, 26 Nov 2013 13:48:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlNft-0004sq-34 for submit@debbugs.gnu.org; Tue, 26 Nov 2013 13:47:57 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlNfs-0004se-WE for submit@debbugs.gnu.org; Tue, 26 Nov 2013 13:47:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlNfo-0001ri-Fo for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 13:47:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlNfg-0004pa-K5 for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 13:47:48 -0500 Original-Received: from mx1.riseup.net ([198.252.153.129]:51228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlNfg-0004pK-Eb for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2013 13:47:40 -0500 Original-Received: from fruiteater.riseup.net (fruiteater-pn.riseup.net [10.0.1.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 37E8F4AF73; Tue, 26 Nov 2013 10:47:39 -0800 (PST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: wgreenhouse@fruiteater.riseup.net) with ESMTPSA id C480B7EC In-Reply-To: (Drew Adams's message of "Tue, 22 Oct 2013 13:55:03 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Virus-Scanned: clamav-milter 0.97.8 at mx1 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81002 Archived-At: Drew Adams writes: > AFAICT, there is no equivalent of such a snapshot with custom themes, > and it's not clear how to create one. But please prove me wrong. Sure. Follow this recipe: 1) Execute "emacs -Q". 2) Customize some face. I did M-x customize-face font-lock-comment-face, changing the foreground color to magenta and clicking "Apply." As expected, the initial comment in the *scratch* buffer is now magenta. But the choice of face doesn't really matter, this works with any face I tried (font-lock-builtin-face, font-lock-keyword-face, font-lock-function-name-face, etc.). 3) M-x customize-themes. Choose any face you like, for example `manoj-dark'. Look at the *scratch* buffer. 4) Choose another theme via M-x customize-themes. Look at the *scratch* buffer. 5) Uncheck the theme checked in M-x customize-themes. Look at the *scratch* buffer. Customizeations made outside Custom themes using Customize are entirely reversible, to the pre-themed state. I think the confusion here--and the bug, if any--is one of user interface and user expectations. `load-theme', `enable-theme', `disable-theme' et al. normally operate on one theme at a time, without reverting all themes. This is perhaps not such a sane default. However, `customize-themes' disables any other active themes unless the > [ ] Select more than one theme at a time checkbox is checked. Perhaps enable-theme, disable-theme etc. should adhere to the same default, leaving at most one theme (or the pre-theme settings) enabled at a time. -- Best, WGG