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

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

Re: problem loading site-start after changing to emacs-22.1


From: gw
Subject: Re: problem loading site-start after changing to emacs-22.1
Date: Tue, 11 Dec 2007 08:32:22 -0800 (PST)
User-agent: G2/1.0

On 10 Dez., 10:40, Jason Rumney <jasonrum...@gmail.com> wrote:
> On 10 Dec, 07:52, gw <guenter.wolp...@orsys.de> wrote:
>
> > Emacs is installed on a remote server:
> > \\some_server\some_directory\tools\emacs-22.1
> > Moving ~/.emacs to q:\tools\emacs\site-lisp\site-start.el doesn't
> > work.
>
> Emacs will look for its site-lisp directory in q:\tools\emacs-22.1 and
> q:\tools (the parent directory of q:\tools\emacs-22.1)
> It will not look in q:\tools\emacs unless you explicitly tell it to by
> setting EMACSLOADPATH.

Sorry, this was a typo.
Of course emacs and its site-start directory are in q:\tools
\emacs-22.1.

currently I use a .emacs that contains
(load-library "q:/tools/emacs-22.1/site-lisp/site-start.el")
which works.

Starting a command prompt (M-! start cmd) and entering SET
EMACSLOADPATH gives:
EMACSLOADPATH=Q:/TOOLS/emacs-22.1/site-lisp;Q:/TOOLS/emacs-22.1/../
site-lisp;Q:/TOOLS/emacs-22.1/lisp;Q:/TOOLS/emacs-22.1/leim

Copying and pasting Q:/TOOLS/emacs-22.1/site-lisp behind a C-x C-f
command goes to the correct location and I can choose site-lisp.el.

same with a locally installed emacs: M-! start CMD SET EMACSLOADPATH
gives
c:\emacs-22.1>set EMACSLOADPATH
EMACSLOADPATH=C:/emacs-22.1/site-lisp;C:/emacs-22.1/../site-lisp;C:/
emacs-22.1/l
isp;C:/emacs-22.1/leim

c:\emacs-22.1>dir C:\emacs-22.1\site-lisp
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: D49D-5134

 Verzeichnis von C:\emacs-22.1\site-lisp

10.12.2007  08:29    <DIR>          .
10.12.2007  08:29    <DIR>          ..
10.12.2007  08:29               531 site_start.el

To be sure I also renamed site_start.el to site-start.el, but no
success.

So it is still unclear why it doesn't work.
Is there a problem with '/' vs. '\' ??
Must emacs be installed (by addpm.exe) with administrator privileges?

Guenter



reply via email to

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