* byte-compile all files in a directory
@ 2011-01-01 0:31 ishi soichi
2011-01-01 6:07 ` Le Wang
0 siblings, 1 reply; 4+ messages in thread
From: ishi soichi @ 2011-01-01 0:31 UTC (permalink / raw
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 798 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: byte-compile all files in a directory
2011-01-01 0:31 ishi soichi
@ 2011-01-01 6:07 ` Le Wang
0 siblings, 0 replies; 4+ messages in thread
From: Le Wang @ 2011-01-01 6:07 UTC (permalink / raw
To: ishi soichi; +Cc: help-gnu-emacs
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-04 10:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6.1293841909.23968.help-gnu-emacs@gnu.org>
2011-01-03 4:44 ` byte-compile all files in a directory Stefan Monnier
2011-01-04 10:12 ` ishi soichi
2011-01-01 0:31 ishi soichi
2011-01-01 6:07 ` Le Wang
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.