[Top][All Lists]

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

[h-e-w] Initialization help needed

From: Bingham, Jay
Subject: [h-e-w] Initialization help needed
Date: Wed, 5 Dec 2001 14:59:11 -0600

I am trying to modularize my init files so that I can have some small
files that contain items that wary from one system to another.  I have
run into a problem in attempting to do this on windows.  I want to put
the expressions that add my own directories to the load path into one of
these small files.  However I cannot figure out how to load the file.  I
have tried (load "$HOME/myfile.el") and (load "~/myfile.el").  In both
cases when I run the init file emacs has an error trying to load the
file it says it is trying to load "/myfile.el".  Neither $HOME nor ~ are
being expanded to C: at this point in the initialization.  If I try to
open a file using either of these aliases I get the same results.  If I
run an init file that does not try to open this file emacs starts
without error and if I try to open a file using those aliases they are
converted to c:.
The init file works without error in my UNIX environment.
It appears to me that the definition of these aliases for emacs in the
Windows environment does not occur until after the initialization is
Can someone tell me why this is the case and if there is a way to get
around it.  It works this way in both emacs 20.4 and 21.1.

.    COMPAQ NonStop Integrity Systems
.    Austin, TX
. Language is the apparel in which your thoughts parade in public.
. Never clothe them in vulgar and shoddy attire. -Dr. George W. Crane-

reply via email to

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