From: Le Wang <l26wang@gmail.com>
To: ishi soichi <soichi777@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: byte-compile all files in a directory
Date: Sat, 1 Jan 2011 14:07:25 +0800 [thread overview]
Message-ID: <AANLkTi=xoWFJ9ZsG_98_OXHYqjRJp9whuyxeoz=94cDo@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=AzmTu8xCbQ=N_KAKG2OAWp0V_aksUiOoT+ysF@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]
On Sat, Jan 1, 2011 at 8:31 AM, ishi soichi <soichi777@gmail.com> wrote:
> 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.
>
<C-h>f
byte-recompile-directory
will give you help with the command. Read it and pay attention to the "If
the *.elc does not exist part"
> 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.
>
I can compile this file fine starting from "emacs -q".
Compiling file
c:/Users/Le/cygwin_home/.emacs.d/packages/org-7.4/contrib/lisp/org-collector.el
at Sat Jan 01 14:01:45 2011
Entering directory
`c:/Users/Le/cygwin_home/.emacs.d/packages/org-7.4/contrib/lisp/'
In org-dblock-write:propview:
org-collector.el:159:31:Warning: assignment to free variable `idpos'
org-collector.el:159:31:Warning: reference to free variable `idpos'
You'll need to share more details if you want further help with this.
--
Le
[-- Attachment #2: Type: text/html, Size: 2202 bytes --]
next prev parent reply other threads:[~2011-01-01 6:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-01 0:31 byte-compile all files in a directory ishi soichi
2011-01-01 6:07 ` Le Wang [this message]
[not found] <mailman.6.1293841909.23968.help-gnu-emacs@gnu.org>
2011-01-03 4:44 ` Stefan Monnier
2011-01-04 10:12 ` ishi soichi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=xoWFJ9ZsG_98_OXHYqjRJp9whuyxeoz=94cDo@mail.gmail.com' \
--to=l26wang@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=soichi777@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).