newsgroups-index (beta)

Current group: comp.emacs

Why Won't Init File Operate???

Why Won't Init File Operate???  
acoustic.ma at netzero.net
 Re: Why Won't Init File Operate???  
martin
From:acoustic.ma at netzero.net
Subject:Why Won't Init File Operate???
Date:15 Jan 2005 16:05:33 -0800
I'm running emacs 20.7 under Win XP.

Emacs will statup ok using the init file ".emacs" in the c:\ direcoty
ok but Emacs will not start up using my init file named "vidinit" in
place of .emacs when I use the "run" selection in the "start" button in
windows xp with the command line

c:\emacs-20.7\bin\runemacs.exe - u c:\userinitfile c:\textfile.txt

The first argument is the location of the emacs runnable,
the second argument is my user init file I would like emacs to start
with instead of .emacs, and the third argument is the textfile I want
emacs to open for editing.

Emacs seems to look in c:\ for init files because if there is a .emacs
file there it will start up using it ok.

The above command line did not start my user init tile even though I
deleted the .emacs init file. Emacs acts as if I did not even specify a
user init file because if I put garbage in my user init file, I get no
error messages and that tells me emacs isn't even starting my user init
file.

Please email any suggestions to me at audioresearch AT hotpop DOT com.
Thanks very much

audioresearch
From:martin
Subject:Re: Why Won't Init File Operate???
Date:Sun, 16 Jan 2005 20:02:33 +0100

"am" == acoustic ma writes:
am> Newsgroups: comp.emacs
am> Date: 15 Jan 2005 16:05:33 -0800
am> Organization: http://groups.google.com

8<--------------------------------------------------------------------
am> c:\emacs-20.7\bin\runemacs.exe - u c:\userinitfile c:\textfile.txt

Hi,

from the info files

`-u USER'
`--user=USER'
Load USER's Emacs init file `~USER/.emacs' instead of your own.

i guess that the u option doesn't make sense in a windows environment.

Martin
8<--------------------------------------------------------------------

--
parozusa at web dot de
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum