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: Eliminating "changed in Emacs outside of Customize" Date: Thu, 03 Feb 2005 01:40:12 -0500 Message-ID: References: <87lla8xdps.fsf-monnier+emacs@gnu.org> <008801c508a4$01110ac0$0200a8c0@sedrcw11488> <200502012211.j11MBnj02899@raven.dms.auburn.edu> <00ea01c508ae$34589740$0200a8c0@sedrcw11488> <200502020103.j1213U805651@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107413116 19246 80.91.229.2 (3 Feb 2005 06:45:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2005 06:45:16 +0000 (UTC) Cc: abraham@dina.kvl.dk, lennart.borgman.073@student.lu.se, 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 03 07:45:15 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cwaje-0004mr-7P for ged-emacs-devel@m.gmane.org; Thu, 03 Feb 2005 07:45:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cwawv-0008L8-0p for ged-emacs-devel@m.gmane.org; Thu, 03 Feb 2005 01:58:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cwaw0-0007oH-KK for emacs-devel@gnu.org; Thu, 03 Feb 2005 01:57:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cwavy-0007nK-JA for emacs-devel@gnu.org; Thu, 03 Feb 2005 01:57:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cwavx-0007mM-Tp for emacs-devel@gnu.org; Thu, 03 Feb 2005 01:57:45 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cwahl-0007cA-2r for emacs-devel@gnu.org; Thu, 03 Feb 2005 01:43:05 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Cwaey-0007jF-6n; Thu, 03 Feb 2005 01:40:12 -0500 Original-To: Luc Teirlinck In-reply-to: <200502020103.j1213U805651@raven.dms.auburn.edu> (message from Luc Teirlinck on Tue, 1 Feb 2005 19:03:30 -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:32788 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32788 The problem also does not occur if you do not autoload the defcustom. That will become more difficult. Indeed, `custom-set-variables' used to (actually still does, I believe) keep track of :require's using stuff like: '(global-font-lock-mode t nil (font-core)) where (font-core) says to load the file "font-core". This feature is used only for defcustoms that specify :require. Very few defcustoms that are explicitly present in the source use :require. Mostly the defcustoms that use :require are generated by macroexpansion of define-minor-mode. So what I want to do is change the way define-minor-mode works. That would not require finding and checking the explicit defcustoms.