From xemacs-m  Wed Aug 13 21:37:39 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA03287
	for <xemacs-beta@xemacs.org>; Wed, 13 Aug 1997 21:37:39 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id TAA03057;
	Wed, 13 Aug 1997 19:42:00 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: bbdb and packages (XEmacs 20.3)
References: <ocrbu31yd0m.fsf@ml.com>
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: Colin Rafferty's message of "13 Aug 1997 17:43:53 -0400"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 13 Aug 1997 19:41:59 -0700
Message-ID: <m2d8nhfpu0.fsf@altair.xemacs.org>
Lines: 31
X-Mailer: Gnus v5.4.64/XEmacs 20.3(beta18) - "Bratislava"

A quick comment regarding auto-autoloads.el files and some fixes in
the next beta.

Colin Rafferty <craffert@ml.com> writes:

> [1.4 auto-autoloads.el <application/octet-stream>]
> ;;; DO NOT MODIFY THIS FILE
> (if (not (featurep 'bbdb-1.51-autoloads))
>     (progn

This construct generates incorrect bytecode[1] and has been changed in
beta18 to:

;;; DO NOT MODIFY THIS FILE
(if (featurep 'prim-autoloads) (error "Already loaded"))


The Right Way to do it (in 20.3beta18 and higher) is to let XEmacs do
the dirty work:

xemacs-20.3b18 -batch -q -eval '(setq autoload-package-name "bbdb")' \
	-l autoload -f batch-update-directory .



Footnotes: 
[1]  Save a copy of an existing auto-autoloads.elc, make the suggested 
change (not forgetting to remove the two superfluous right parens on
the last line),  rebytecompile and compare how the byte code looks.  I
found it a most fascinating revelation. :-)

