[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: byte-compile-file: emacs vs the command line.
From: |
Eli Zaretskii |
Subject: |
Re: byte-compile-file: emacs vs the command line. |
Date: |
Sun, 29 Dec 2013 18:26:50 +0200 |
> From: rclayton@monmouth.edu (R. Clayton)
> Date: Sun, 29 Dec 2013 10:59:55 -0500
>
> Why is the command-line compile failing, and how can I fix it?
>
> require uses load, and running in batch doesn't load init files. This means
> load-path doesn't contain everything it should to load local files. The fix
> is to fix load-path:
>
> $ cat rm.el
> (require 'general-utils)
>
> $ emacs --batch --exec '(byte-compile-file "rm.el")'
Like this:
$ EMACSLOADPATH=/what:/ever:/you:/need emacs -batch -f batch-byte-compile
rm.el
- byte-compile-file: emacs vs the command line., R. Clayton, 2013/12/28
- Re: byte-compile-file: emacs vs the command line., R. Clayton, 2013/12/29
- Re: byte-compile-file: emacs vs the command line.,
Eli Zaretskii <=
- Re: byte-compile-file: emacs vs the command line., R. Clayton, 2013/12/30
- Re: byte-compile-file: emacs vs the command line., Thierry Volpiatto, 2013/12/30
- Re: byte-compile-file: emacs vs the command line., Peter Dyballa, 2013/12/30
- Re: byte-compile-file: emacs vs the command line., R. Clayton, 2013/12/30
- Re: byte-compile-file: emacs vs the command line., Peter Dyballa, 2013/12/30
- Re: byte-compile-file: emacs vs the command line., R. Clayton, 2013/12/31