From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Changed outside --> set, in Customize UI Date: Thu, 10 Feb 2005 01:02:50 -0500 Message-ID: References: <200502080315.j183F6V07652@raven.dms.auburn.edu> <200502081155.j18BtY408908@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108016015 16382 80.91.229.2 (10 Feb 2005 06:13:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Feb 2005 06:13:35 +0000 (UTC) Cc: teirllm@dms.auburn.edu, monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 10 07:13:35 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cz7Zx-0003kt-9E for ged-emacs-devel@m.gmane.org; Thu, 10 Feb 2005 07:13:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cz7od-0002DV-1K for ged-emacs-devel@m.gmane.org; Thu, 10 Feb 2005 01:28:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cz7kA-0007vd-EG for emacs-devel@gnu.org; Thu, 10 Feb 2005 01:24:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cz7jv-0007ma-Dg for emacs-devel@gnu.org; Thu, 10 Feb 2005 01:23:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cz7ju-0007iy-5H for emacs-devel@gnu.org; Thu, 10 Feb 2005 01:23:46 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cz7TC-0004ta-9e for emacs-devel@gnu.org; Thu, 10 Feb 2005 01:06:30 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Cz7Pe-000341-UG; Thu, 10 Feb 2005 01:02:50 -0500 Original-To: Luc Teirlinck In-reply-to: <200502081155.j18BtY408908@raven.dms.auburn.edu> (message from Luc Teirlinck on Tue, 8 Feb 2005 05:55:34 -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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33185 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33185 Of course, we have the similar problem that if we make an entry set with add-hook in .emacs untouchable, then the user can not undo it for the current session any more either, even though this is feasible and safe right now. That is a good point. It is harmless to change any value just for the current session--the problems arise when you try to save the change. That creates a problem for solutions based on changing the way the user edits the value. However, they may not be insuperable. One idea is to offer the user a choice of two representations to edit: the "safe" one that allows saving the result, and the "raw" one that allows setting but not saving. Referring to something set in .emacs as "Set for the current" session would be very confusing because things set in .emacs outside and inside the `custom-set-variables' form are set in the same session. I agree. Perhaps "set by .emacs" should be distinguished as a state.