From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: unload-feature questions and thoughts Date: Mon, 15 Oct 2007 00:34:39 +0200 Message-ID: References: <55585.128.165.123.18.1192038971.squirrel@webmail.lanl.gov> <858x6atas5.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192401303 6858 80.91.229.12 (14 Oct 2007 22:35:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Oct 2007 22:35:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 15 00:34:53 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhC2u-0007Nk-TW for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2007 00:34:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhC2n-0006BL-SJ for ged-emacs-devel@m.gmane.org; Sun, 14 Oct 2007 18:34:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhC2k-0006B3-Bl for emacs-devel@gnu.org; Sun, 14 Oct 2007 18:34:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhC2i-0006Ag-QZ for emacs-devel@gnu.org; Sun, 14 Oct 2007 18:34:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhC2i-0006Ad-Ln for emacs-devel@gnu.org; Sun, 14 Oct 2007 18:34:40 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhC2i-0003PC-Cj for emacs-devel@gnu.org; Sun, 14 Oct 2007 18:34:40 -0400 Original-Received: by wx-out-0506.google.com with SMTP id s7so1327130wxc for ; Sun, 14 Oct 2007 15:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=eSvbXNzc9BIG6XszgH3EQBbKgBCDkOYrP7ZQxzrfyHA=; b=mgMGS/bVcj3TVpl36xcECrsO9YYZsHvZWb5l0Jbk7Fow6yaaRCbFnjJMtf+jwiar/TnKNxSvBYNiUIWkegWTHlWXTKG82YrXi85+a0Sj/n4jQshRY4mVo+etuFNUI8igXUa6xCDNckBN6VtbdLdDunEHmbNfemE693PKMwCx0PA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lnHIw7oYAM70DgpiokNCEseTmfGlHtn0QuZNvjSmQeucvVbztSZWrl9k40tHWDgF6BMUQnr8k843wgjc+t9pSEfu9RcLCsRimOyL9yFHrryWUgUArXi7qMkWxHeNAP0p5Q1+by/S/+Ne2pX0p2Dpj3Bs8b/2NMpKr2ReNWqE2vg= Original-Received: by 10.90.106.11 with SMTP id e11mr7818612agc.1192401279591; Sun, 14 Oct 2007 15:34:39 -0700 (PDT) Original-Received: by 10.90.103.8 with HTTP; Sun, 14 Oct 2007 15:34:39 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:80876 Archived-At: On 10/14/07, Richard Stallman wrote: > People have suggested two ways to make a compatible change. > One is to add FEATURE-unload-function in parallel. > The other is to move the standard code to delete from hooks > into a subroutine which FEATURE-unload-hook can call. > > I prefer the latter way. But these are not equivalent. FEATURE-unload-function would allow packages with uncommon unload strategies to do all unloading by themselves (by passing a flag back to unload-feature not to do any more unloading), but still use the unload-feature machinery to check feature dependencies, for example. Juanma