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: Sun, 4 Feb 2007 20:07:06 +0100 Message-ID: References: <85bqk9db9a.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170616051 7002 80.91.229.12 (4 Feb 2007 19:07:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2007 19:07:31 +0000 (UTC) Cc: Emacs Devel To: "David Kastrup" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 04 20:07:23 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 1HDmht-0005nI-VZ for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2007 20:07:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HDmhv-0004e0-8T for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2007 14:07:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HDmhh-0004dj-W1 for emacs-devel@gnu.org; Sun, 04 Feb 2007 14:07:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HDmhg-0004dO-82 for emacs-devel@gnu.org; Sun, 04 Feb 2007 14:07:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HDmhg-0004dL-1n for emacs-devel@gnu.org; Sun, 04 Feb 2007 14:07:08 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.232]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HDmhf-0007Rk-Ft for emacs-devel@gnu.org; Sun, 04 Feb 2007 14:07:07 -0500 Original-Received: by nz-out-0506.google.com with SMTP id s1so1259230nze for ; Sun, 04 Feb 2007 11:07:07 -0800 (PST) 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=tuWSLX0EDnR4a8Y0q8kwdTnlJhAY2xMiKimGGZYNYnHzblyKcthNYGbgge1XopA9pzkAKvTF4Z/LmNK99JAlbvu/O+pDnsvk49DkJZ2J2xWBllyNseQed3AKRC+ZODix1dMMq0WEmkRPgRstEbGT8Im9K4ByJKMQZHTzg5XYPrk= Original-Received: by 10.114.175.16 with SMTP id x16mr529365wae.1170616026398; Sun, 04 Feb 2007 11:07:06 -0800 (PST) Original-Received: by 10.114.234.16 with HTTP; Sun, 4 Feb 2007 11:07:06 -0800 (PST) In-Reply-To: <85bqk9db9a.fsf@lola.goethe.zz> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:65858 Archived-At: On 2/4/07, David Kastrup wrote: > We had this discussion already. IIRC, load could be used multiple > times and in so many contexts, that is was not reasonable to expect it > to be undoable. OTOH, `unload-feature' exists for a reason; and packages that do non-standard things (like redefining standard functions) can define their own unload functions. But question 3) was not about unloading, though I mentioned it at the end; it was about the difference in the resulting 'autoload property of function symbols depending on whether you use the autoloading vs. the normal load/require mechanisms. > Before we coded this hack, there was a discussion on emacs-devel > because I had been surprised, too. Couldn't AUCTeX just define AUCTeX-unload-hook and do whatever it is necessary? > Anyway, this is most emphatically not something that should be changed > now. Agreed. I didn't send a patch or even suggested a "fix" :) > But maybe it would be worth documenting something about it. I think so. /L/e/k/t/u