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: Bug, probably related to Custom Themes. Date: Thu, 22 Dec 2005 00:47:17 -0500 Message-ID: References: <200512210254.jBL2sj814876@raven.dms.auburn.edu> <87mziuqp2x.fsf@stupidchicken.com> <200512211840.jBLIefx25655@raven.dms.auburn.edu> <87vexiw3w4.fsf@stupidchicken.com> <200512212258.jBLMwt329838@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1135230532 9413 80.91.229.2 (22 Dec 2005 05:48:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2005 05:48:52 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 22 06:48:51 2005 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EpJJm-0005Fk-5g for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2005 06:48:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpJKk-0006Z8-T5 for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2005 00:49:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EpJJO-0005eV-F0 for emacs-devel@gnu.org; Thu, 22 Dec 2005 00:48:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EpJJN-0005e5-RJ for emacs-devel@gnu.org; Thu, 22 Dec 2005 00:48:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EpJJN-0005dr-LK for emacs-devel@gnu.org; Thu, 22 Dec 2005 00:48:21 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EpJIR-0001DT-U4 for emacs-devel@gnu.org; Thu, 22 Dec 2005 00:47:23 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EpJIL-0006Vm-Ii; Thu, 22 Dec 2005 00:47:17 -0500 Original-To: Luc Teirlinck In-reply-to: <200512212258.jBLMwt329838@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 21 Dec 2005 16:58:55 -0600 (CST)) 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:48204 Archived-At: But the user has some bad experiences with the new value and wants to get rid of it. He chooses "Erase Customization" in a Custom buffer. _Now_ what is supposed to happen? Do we restore the value set by foo or the "standard" value that would be in effect if there were no themes? It should restore the value set by foo, because that's the only consistent meaning. It should get rid of "user" customizations, but it cannot get rid of theme values. Loading a theme means installing a new set of defaults. "Erase Customization" should restore the theme value. If the user wants the no-themes default, he should set and save bar in a Custom buffer to the no-themes default, thereby making the no-theme default the user theme value which explicitly overrides any theme, present or future. That is the only way one can be consistent. I agree. In what way does the current behavior differ from that? I have the impression that the purpose of the: (custom-reset-variables '(bar nil)) is to override foo's value and restore the no-themes default. I'm not sure what that ought to do. Looking at the doc string, it is not clear that this case was intended to be used at all. Thus, if it doesn't do anything useful, and it's not easy to make it do anything useful, we could simply make it an error.