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: Strange eval-after-load Date: Wed, 05 Jul 2006 13:01:48 -0400 Message-ID: References: <20060702133304.GA4008@muc.de> <20060702191851.GA1299@muc.de> <20060703171606.GD2626@muc.de> <20060704150240.GD1316@muc.de> <17578.57481.591256.63483@rgrjr.dyndns.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1152119034 32267 80.91.229.2 (5 Jul 2006 17:03:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Jul 2006 17:03:54 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 05 19:03:49 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FyAmL-0005W7-1f for ged-emacs-devel@m.gmane.org; Wed, 05 Jul 2006 19:03:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyAmK-0000mY-9u for ged-emacs-devel@m.gmane.org; Wed, 05 Jul 2006 13:03:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyAl4-0008M2-I6 for emacs-devel@gnu.org; Wed, 05 Jul 2006 13:01:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyAl3-0008LR-Rz for emacs-devel@gnu.org; Wed, 05 Jul 2006 13:01:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyAl3-0008LL-OE for emacs-devel@gnu.org; Wed, 05 Jul 2006 13:01:49 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FyAl3-00061I-RK for emacs-devel@gnu.org; Wed, 05 Jul 2006 13:01:49 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FyAl2-0002t8-EO; Wed, 05 Jul 2006 13:01:48 -0400 Original-To: Bob Rogers In-reply-to: <17578.57481.591256.63483@rgrjr.dyndns.org> (message from Bob Rogers on Tue, 4 Jul 2006 17:41:29 -0400) 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:56582 Archived-At: 1. It seems to me this can be done without any setup work on the part of the package. Suppose the provide routine were changed to run a specified hook, e.g. "foo-provide-hook" if "(provide 'foo)" were executed, and the symbol "foo" was not already on the "features" list? What you are trying to achieve is precisely the problem I am trying to avoid. Namely, that this would work with no explicit call in the file. The explicit call in the file is what calls the programmer's attention to the fact that some code might be run from there.