From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: autoload Date: Mon, 24 Jan 2011 12:28:00 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295891523 19018 80.91.229.12 (24 Jan 2011 17:52:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2011 17:52:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 24 18:51:58 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PhQa3-0005Nl-0t for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jan 2011 18:51:55 +0100 Original-Received: from localhost ([127.0.0.1]:36359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhQPO-0006Ef-C0 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jan 2011 12:40:54 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Injection-Info: mx03.eternal-september.org; posting-host="cDuFTaxWZtHn7h45EreUyw"; logging-data="5471"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/mLTbwHhQfOuqcbw9pu3AF" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Ug/COvizWltRHLkr1NBzjfoQyDc= sha1:4LaA83ggqb5qkjl5PiEuO4tS9ko= Original-Xref: usenet.stanford.edu gnu.emacs.help:184552 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78712 Archived-At: >>> I just spent the past few hours constructing various scripts to >>> automatically byte compile the new files >> As in byte-recompile-directory? > Roughtly. but batch-byte-recompile-directory does not create the elc if it > doesn't already exist unless you wrap it. So I wrote: > (defun batch-byte-recompile-directory-all () > (batch-byte-recompile-directory 0)) IIRC you can use --eval "(batch-byte-recompile-directory 0)" so you don't have to define a new function. >>> and also create a myautoloads.el file that I load at startup. >> As in update-directory-autoloads? > Again... roughly but you have to wrap it so that the autoloads go to > a local file: Right, and there as well you can use --eval "(setq generated-autoload-file \"`pwd`/myloaddefs.el\")" > Oh... And update-directory-autoloads doesn't walk down the tree... Good point. Stefan