From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: unload-feature questions and thoughts Date: Sun, 28 Oct 2007 09:51:17 -0400 Message-ID: References: <86r6t5qdbo.fsf@lola.quinscape.zz> <861wl5q7al.fsf@lola.quinscape.zz> <54853.128.165.123.18.1192027947.squirrel@webmail.lanl.gov> <55463.128.165.123.18.1192035787.squirrel@webmail.lanl.gov> <55585.128.165.123.18.1192038971.squirrel@webmail.lanl.gov> <858x6atas5.fsf@lola.goethe.zz> <858x5q51mw.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193580288 8951 80.91.229.12 (28 Oct 2007 14:04:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 14:04:48 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 28 15:04:50 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 1Im8kq-0000e9-GR for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 15:04:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Im8kh-0008Bd-Hz for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 10:04:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Im8YB-0005vp-82 for emacs-devel@gnu.org; Sun, 28 Oct 2007 09:51:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Im8YA-0005uY-CN for emacs-devel@gnu.org; Sun, 28 Oct 2007 09:51:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Im8Y9-0005uE-Uw for emacs-devel@gnu.org; Sun, 28 Oct 2007 09:51:34 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Im8Y9-00006k-L1 for emacs-devel@gnu.org; Sun, 28 Oct 2007 09:51:33 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Im8Xt-0000yf-JN; Sun, 28 Oct 2007 09:51:17 -0400 In-reply-to: <858x5q51mw.fsf@lola.goethe.zz> (message from David Kastrup on Thu, 25 Oct 2007 23:24:07 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:81952 Archived-At: One somewhat surprising thing I remembered is that it was necessary to call an autoloaded (dummy in this case) function instead of straightforwardly using require. The latter did not register the necessary information for unloading the feature again (unloading the feature needs to restore autoloads for the default TeX modes). I think we recently fixed that: 2007-10-14 Juanma Barranquero * eval.c (do_autoload): Don't save autoloads. * data.c (Ffset): Save autoload of the function being set. Anyway, we've installed the new feature for unload hooks for Emacs 22; could you please DTRT (whatever that is) in AUCTeX?