From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Eliminating "changed in Emacs outside of Customize" Date: Thu, 3 Feb 2005 08:54:11 -0800 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107451621 20501 80.91.229.2 (3 Feb 2005 17:27:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2005 17:27:01 +0000 (UTC) Cc: teirllm@dms.auburn.edu, abraham@dina.kvl.dk, lennart.borgman.073@student.lu.se, emacs-devel@gnu.org, monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 03 18:27:00 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CwkhF-0007KB-0S for ged-emacs-devel@m.gmane.org; Thu, 03 Feb 2005 18:23:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cwkub-0001Zw-CJ for ged-emacs-devel@m.gmane.org; Thu, 03 Feb 2005 12:37:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cwkhl-0008Mo-R3 for emacs-devel@gnu.org; Thu, 03 Feb 2005 12:23:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cwkhe-0008K5-03 for emacs-devel@gnu.org; Thu, 03 Feb 2005 12:23:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cwkhd-0008CK-Aj for emacs-devel@gnu.org; Thu, 03 Feb 2005 12:23:37 -0500 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CwkFS-0007dZ-9r; Thu, 03 Feb 2005 11:54:30 -0500 Original-Received: from agminet02.oracle.com (localhost [127.0.0.1]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j13GsL59012744; Thu, 3 Feb 2005 08:54:21 -0800 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by agminet02.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j13GsJcp012675; Thu, 3 Feb 2005 08:54:19 -0800 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j13GsIOi026020; Thu, 3 Feb 2005 09:54:18 -0700 Original-Received: from dradamslap (dradams-lap.us.oracle.com [130.35.177.126]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j13GsBXO025958 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 3 Feb 2005 09:54:12 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-reply-to: Importance: Normal 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:32823 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32823 I'm not sure is documented: subsequent defcustom's redefine the `standard' value of the variable (that is, the value that you can reset to with Reset to Standard). The current value is not changed; only the `standard' value is changed. That seems correct to me. In particular, it means you can edit the defcustom and eval the edited one, and the edit takes effect. I didn't mean to suggest that this was not the right behavior. I was a bit surprised, but only because of the leave-alone-if-defined behavior of defcustom and defvar wrt _current value_. My point is that we should make sure it is doc'd somewhere (perhaps it is). - Drew