From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Removing unloaded functions from auto-mode-alist. Date: Mon, 25 Apr 2005 02:07:42 +0200 Message-ID: <85ll77pvld.fsf@lola.goethe.zz> References: <87zmvu6ba2.fsf@xs4all.nl> <85ll7e68ei.fsf@lola.goethe.zz> <854qe2ihhi.fsf@lola.goethe.zz> <85oecagzwf.fsf@lola.goethe.zz> <874qdvc48k.fsf@xs4all.nl> <85fyxfrjal.fsf@lola.goethe.zz> <87is2balna.fsf@xs4all.nl> <857jirrg1f.fsf@lola.goethe.zz> <87br83wxuq.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114387977 326 80.91.229.2 (25 Apr 2005 00:12:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2005 00:12:57 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 25 02:12:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DPrDP-00075p-3c for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2005 02:12:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPrIo-0004bm-Rd for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2005 20:18:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DPrHw-0004DG-1K for emacs-devel@gnu.org; Sun, 24 Apr 2005 20:17:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DPrHu-0004CM-7t for emacs-devel@gnu.org; Sun, 24 Apr 2005 20:17:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPrHu-0003gV-09 for emacs-devel@gnu.org; Sun, 24 Apr 2005 20:17:22 -0400 Original-Received: from [151.189.21.42] (helo=mail-in-02.arcor-online.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DPrBx-0005Jf-DA for emacs-devel@gnu.org; Sun, 24 Apr 2005 20:11:13 -0400 Original-Received: from lola.goethe.zz (i53879025.versanet.de [83.135.144.37]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id F0A14138B6F; Mon, 25 Apr 2005 02:07:57 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id A5C0A1C1E222; Mon, 25 Apr 2005 02:07:42 +0200 (CEST) Original-To: Lute Kamstra In-Reply-To: <87br83wxuq.fsf@xs4all.nl> (Lute Kamstra's message of "Mon, 25 Apr 2005 01:37:01 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:36352 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36352 Lute Kamstra writes: > David Kastrup writes: > If files do get reloaded often (for good reasons), then recording > old values of functions and variables should probably be done only > if require loads a file. That wouldn't happen twice. Well, I still think that when we are concerned about a working unload-feature, the decisive criterion is that we want to be able to restore the state before a load that actually first provided a feature, and it does not really matter whether this load was initiated by load, by an autoload, or by require. All that matters is that a recognizable load added the feature, and so we want to have unload-feature restore the state before that particular load where feasible. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum