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

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

RE: [h-e-w] trying to dump emacs


From: Randy W. Sims
Subject: RE: [h-e-w] trying to dump emacs
Date: Sat, 25 May 2002 04:01:18 -0400

> -----Original Message-----
> I’m trying to dump emacs to get better startup-performance by avoiding the
load of my big environment all the time.
> My platform is W2k, emacs 21.2.1, pre-built (GNU Emacs 21.2.1
(i386-msvc-nt5.0.2195) of 2002-03-19 on buffy).
>
> When I start my standard-configuration in batch and then call the command
dump-emacs emacs crashes.
> So I proceeded with temacs.
> I start it with temacs –batch –l loadup dump.
> I have created a file site-init.el in the lisp directory that is supposed
to load my enviroment.
> Since emacs hardly appears to be initialized when started in this way, I
set EMACSROOT and load-path myself.
> Then indeed the files-to-load can be found but I get an error on
documentation when emacs is loading cl (which is required):
>
> -Cannot open doc string file “../etc/..lisp/cl.elc”-
>
> Clearly that path is wrong but I can’t find how it is composed.
> What emacs-variable(s) or environment-variable(s) should I have set to
prevend this to happen?
> Anyone got a clue?
>

I ran into this when recompiling emacs (to change the directory structure).
emacs looks for the doc string file (and private executables run by emacs)
by looking in the ``exec-directory'' (emacs) variable which IIRC is
initialized with from the first path listed in EMACSPATH. The file it is
looking for is, ``fns-*.el'' which in this version is ``fns-21.2.1.el''. The
binary distribution puts this file in the ``bin'' directory.




reply via email to

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