help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: byte-compile-file: emacs vs the command line.


From: R. Clayton
Subject: Re: byte-compile-file: emacs vs the command line.
Date: Mon, 30 Dec 2013 00:19:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Like this: $ EMACSLOADPATH=/what:[...]

  That too, but my reading of the emacs manual, coupled with a few tests,
  suggests that the EMACSLOADPATH contents becomes the load-path, which means
  I'd have to dig around to make sure everything needed is in the environment
  variable. 

    $ emacs --batch --exec '(byte-compile-file "rm.el")'
    Loading 00debian-vars...
    Loading /etc/emacs/site-start.d/20apel.el (source)...
    Loading /etc/emacs/site-start.d/50asymptote.el (source)...
    Loading /etc/emacs/site-start.d/50auto-complete-el.el (source)...
    Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
    Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
    Loading debian-ispell...
    Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
    Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
    Loading /etc/emacs/site-start.d/50flim.el (source)...
    Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...
    Loading /usr/share/emacs23/site-lisp/haskell-mode/haskell-mode-autoloads.el 
(source)...
    Loading /etc/emacs/site-start.d/50haxe.el (source)...
    Loading /etc/emacs/site-start.d/50lua-mode.el (source)...
    Loading /etc/emacs/site-start.d/50mgp.el (source)...
    Loading /etc/emacs/site-start.d/50noweb.el (source)...
    Loading /etc/emacs/site-start.d/50scsh.el (source)...
    Loading /etc/emacs/site-start.d/50vm.el (source)...
    Loading /etc/emacs23/site-start.d/50vm-init.el (source)...
    Loading /etc/emacs/site-start.d/50w3m-el.el (source)...
    Loading /etc/emacs/site-start.d/50w3m-el-snapshot.el (source)...
    Loading /etc/emacs/site-start.d/51semi.el (source)...
    Loading /etc/emacs/site-start.d/65wl.el (source)...

    In toplevel form:
    rm.el:1:1:Error: Cannot open load file: general-utils

    $ EMACSLOADPATH=~/lib/emacs/lisp emacs --batch --exec '(byte-compile-file 
"rm.el")'
    Warning: Could not find simple.el nor simple.elc
    Cannot open load file: bytecomp

    $ EMACSLOADPATH=~/lib/emacs/lisp emacs --batch --exec '(message "%S" 
load-path)'
    Warning: Could not find simple.el nor simple.elc
    ("/home/rclayton/lib/emacs/lisp")

    $ 

  Plus, I'll be that once EMACSLOADPATH is set up for this system here (e.g.,
  debian testing), it still needs fiddling to get it set up for that system
  there (e.g., freebsd 9.2).

-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]