From xemacs-m  Thu Jul 31 11:49:24 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA18740
	for <xemacs-beta@xemacs.org>; Thu, 31 Jul 1997 11:49:22 -0500 (CDT)
Received: by crystal.WonderWorks.COM 
	id QQdapf24056; Thu, 31 Jul 1997 12:49:24 -0400 (EDT)
Date: Thu, 31 Jul 1997 12:49:24 -0400 (EDT)
Message-Id: <QQdapf24056.199707311649@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: Re: How to determine build-dir within running XEmacs?
In-Reply-To: <bci4t9c9shv.fsf@corp.Sun.COM>
References: <rxszprrme68.fsf@ecf.teradyne.com>
	<199707131143.EAA02550@xemacs.eng.sun.com>
	<lbk9iu1hr1.fsf@boron.kurims.kyoto-u.ac.jp>
	<rxsg1th7mbn.fsf@midnight.ecf.teradyne.com>
	<199707150324.MAA21551@boron.kurims.kyoto-u.ac.jp>
	<rxszpr4e0xz.fsf@tomorrow.ecf.teradyne.com>
	<bci4t9c9shv.fsf@corp.Sun.COM>
X-Mailer: VM 6.33 under 20.3 "Helsinki" XEmacs  Lucid (beta12)
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Gary D. Foster writes:
 > >>>>> "Adrian" == Adrian Aichner <aichner@ecf.teradyne.com> writes:
 > 
 >     Adrian> if you want to give it a try with an updated version of
 >     Adrian> xemacs-build-report.el, here it is.
 > 
 >     Adrian> (require 'config)
 >     Adrian> (provide 'xemacs-build-report)
 > 
 > Just for my own edification, why do you place the (provide...) at the
 > beginning of the file instead of at the end?  It would seem to me that 
 > placing it at the end would ensure that the feature is only provided
 > upon successful loading of everything in the package, and placing it
 > at the beginning could erroneously report success when in fact it
 > could've bombed.

It makes the file more readable if the provide is near the beginning.
Placement makes no difference for autoloaded files, as all provide
and defun calls within the file are unwound if the load fails.
This is not true if the file is loaded manually, which is a
further inducement to use autoloads.

