From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ishi soichi Newsgroups: gmane.emacs.help Subject: byte-compile all files in a directory Date: Sat, 1 Jan 2011 09:31:45 +0900 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016367fb19f27b8530498be0b09 X-Trace: dough.gmane.org 1293841935 24233 80.91.229.12 (1 Jan 2011 00:32:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 00:32:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 01 01:32:12 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 1PYpOF-0002Vw-Dp for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jan 2011 01:32:11 +0100 Original-Received: from localhost ([127.0.0.1]:49779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYpOE-0001ot-TT for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Dec 2010 19:32:10 -0500 Original-Received: from [140.186.70.92] (port=53002 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYpNs-0001oH-8N for help-gnu-emacs@gnu.org; Fri, 31 Dec 2010 19:31:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PYpNq-0005mA-V3 for help-gnu-emacs@gnu.org; Fri, 31 Dec 2010 19:31:47 -0500 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:55901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PYpNq-0005m6-QK for help-gnu-emacs@gnu.org; Fri, 31 Dec 2010 19:31:46 -0500 Original-Received: by wwb17 with SMTP id 17so12473050wwb.30 for ; Fri, 31 Dec 2010 16:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=4TvIA93cRtlI1n6v1JvtHFRqa7sBolMdddGv3nWvfFc=; b=AzGiVkJJ/MdUPP3bccZ0WJD56+7I1XzR1VwzEUr4s2Q+xQinKK1tzFbMin2Re3NpFo wNDfYvTEfSsyI0CM4m2/zRzxkKRGFmat6fgr2E91f7qmGnVXzIq/W0REQmMp7N0FkWTw yiUJSI9Ef7eggN4IIMvUoFFJ7B2vrlZnkRGXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=B/1BYGve//yKfF5MdUQPpg1dMHR/79mLifxg5WWpvunoFWP2m0UJ7glneMNI6Ch2D5 MV3Ufnu/l4dmVCsaEdTDNt1ITGygQFaF3Mwt6C+nYsPB3KbHQFU1ZmsLD+MO03RugsWj V7C77/XinBrv/nuOjY7frD1IWw1Vumr+Gn+1U= Original-Received: by 10.227.138.73 with SMTP id z9mr10526154wbt.97.1293841905202; Fri, 31 Dec 2010 16:31:45 -0800 (PST) Original-Received: by 10.227.146.73 with HTTP; Fri, 31 Dec 2010 16:31:45 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:78001 Archived-At: --0016367fb19f27b8530498be0b09 Content-Type: text/plain; charset=ISO-8859-1 hi. I would like to implement byte-compile elisp files. Is there a way to do it for all files in a directory? I tried "M-x byte-recompile-directory" but it does nothing. Well, only way I can think of is dired-do-byte-compile...but it still needs to execute one by one. And also, sometimes byte-compile-file produces errors like, Byte compile error for /Users/ishidasouichi/.emacs.d/lisp/contrib/lisp/org-collector.el: I have no idea why. This elisp file is downloaded from the official site, so no corrections are made. There should not be any problem in implementing byte-compile at all. Thanks for your help in advance. soichi --0016367fb19f27b8530498be0b09 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi. I would like to implement byte-compile elisp files. =A0Is there a way t= o do it for all files in a directory?
I tried "M-x byte-recompile-= directory" but it does nothing. =A0Well, only way I can think of is di= red-do-byte-compile...but it still needs to execute one by one.

And also, sometimes byte-compile-file produces errors l= ike,

Byte compile error for /Users/ishidasouichi/.= emacs.d/lisp/contrib/lisp/org-collector.el:

I have= no idea why. =A0This elisp file is downloaded from the official site, so n= o corrections are made. =A0There should not be any problem in implementing = byte-compile at all.

Thanks for your help in advance.


soichi
--0016367fb19f27b8530498be0b09--