From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Is (provide 'foo) at the start good or bad? Date: Fri, 12 Jun 2009 17:16:08 -0400 Message-ID: References: <21glws7jx732.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244841384 18076 80.91.229.12 (12 Jun 2009 21:16:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2009 21:16:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: William Xu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 12 23:16:20 2009 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 1MFE6m-0005nh-Iz for ged-emacs-devel@m.gmane.org; Fri, 12 Jun 2009 23:16:20 +0200 Original-Received: from localhost ([127.0.0.1]:57403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFE6l-0008H6-Lf for ged-emacs-devel@m.gmane.org; Fri, 12 Jun 2009 17:16:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFE6h-0008H1-Ud for emacs-devel@gnu.org; Fri, 12 Jun 2009 17:16:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFE6c-0008GV-Hl for emacs-devel@gnu.org; Fri, 12 Jun 2009 17:16:14 -0400 Original-Received: from [199.232.76.173] (port=58109 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFE6c-0008GI-Co for emacs-devel@gnu.org; Fri, 12 Jun 2009 17:16:10 -0400 Original-Received: from smtp-02.vtx.ch ([212.147.0.114]:39052) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFE6b-0007CM-Vi for emacs-devel@gnu.org; Fri, 12 Jun 2009 17:16:10 -0400 Original-Received: from alfajor.home (dyn.83-228-142-003.dsl.vtx.ch [83.228.142.3]) by smtp-02.vtx.ch (VTX Services SA) with ESMTP id D8B2A5FDD1; Fri, 12 Jun 2009 23:16:08 +0200 (CEST) Original-Received: by alfajor.home (Postfix, from userid 20848) id AF1906433E; Fri, 12 Jun 2009 17:16:08 -0400 (EDT) In-Reply-To: <21glws7jx732.fsf@gmail.com> (William Xu's message of "Thu, 11 Jun 2009 15:56:01 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/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:111458 Archived-At: > char). So what is the benefit of providing it at the very start? The convention is to put the `provide' at the end of the file. Occasionally (usually because of mutual dependencies), it is a lot more convenient to put it at the beginning. But whenever possible, it should be at the end (and indeed `eval-after-load' requires it to be at the end for the feature to work properly). Stefan