From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.devel Subject: Re: Customization problem Date: Sun, 29 Oct 2006 21:08:19 +0800 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1162127610 2610 80.91.229.2 (29 Oct 2006 13:13:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 29 Oct 2006 13:13:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 29 14:13:27 2006 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 1GeATU-0003KD-5U for ged-emacs-devel@m.gmane.org; Sun, 29 Oct 2006 14:13:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeATT-0000CW-Iz for ged-emacs-devel@m.gmane.org; Sun, 29 Oct 2006 08:13:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GeAPh-0004MG-C7 for emacs-devel@gnu.org; Sun, 29 Oct 2006 08:09:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GeAPe-0004Ih-6M for emacs-devel@gnu.org; Sun, 29 Oct 2006 08:09:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeAPd-0004I6-Mk for emacs-devel@gnu.org; Sun, 29 Oct 2006 08:09:18 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GeAPa-0000gc-Bf; Sun, 29 Oct 2006 08:09:14 -0500 Original-Received: from [65.54.246.110] (helo=bay0-omc1-s38.bay0.hotmail.com) by mx20.gnu.org with esmtp (Exim 4.52) id 1GeAPZ-0008E3-99; Sun, 29 Oct 2006 08:09:13 -0500 Original-Received: from hotmail.com ([207.46.10.216]) by bay0-omc1-s38.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 29 Oct 2006 05:08:21 -0800 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 29 Oct 2006 05:08:21 -0800 Original-Received: from 207.46.10.254 by by122fd.bay122.hotmail.msn.com with HTTP; Sun, 29 Oct 2006 13:08:19 GMT X-Originating-IP: [221.222.198.189] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: Original-To: rms@gnu.org X-OriginalArrivalTime: 29 Oct 2006 13:08:21.0263 (UTC) FILETIME=[4EFFF1F0:01C6FB5B] 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:61336 Archived-At: > The criterion could be a symbol in `obarray'. Before > `custom-save-variables' searching in it, it first insure the symbol > is interned. > >I don't understand this at all. For example, add a variable `custom-variables-loaded', which defaults to nil, and add the expression (setq custom-variables-loaded t) as the last expression of the function `custom-set-variables'. Then, `custom-save-variables' can test this variable to determine whether to report an error. Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/