[Top][All Lists]

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

Re: [h-e-w] Emacs not finding the ".emacs" file

From: Raymond Zeitler
Subject: Re: [h-e-w] Emacs not finding the ".emacs" file
Date: Fri, 6 Aug 2004 09:33:52 -0400

Three things.

First of all, to set an environment variable from within a BAT or CMD
file, the correct syntax is:

Set HOME=c:\HOME\rmh

Mr. Heiberger left off the "set" part.  Do *not* include any spaces
around the equals sign.  And Windows doesn't understand "$Home."  It's
either %Home% within a batch file, or Home at the command line.

Second, the Windows binaries come with addpm.exe, which modifies the
Windows registry.  This is an alternative to using the "set home"
command and adding the emacs\bin directory to your computer's path.  The
home directory key resides in HKCU/Software/Gnu/Emacs/Home and would
contain a path with forward slashes: c:/HOME/rmh , for example.  This is
a great way to set $Home if the computer is to be used by more than one

Third, I've been using Emacs for four years.  In all this time, Emacs
has used C:\ has the home directory in the absence of other
instructions.  I haven't upgraded to 21.3 yet, but I doubt that Emacs
will set Home to %userprofile%.  I know that the version I use, 21.2.1,
does not use %userprofile% for $Home.

-----Original Message-----
Date: Thu, 5 Aug 2004 18:23:06 -0400
From: "Richard M. Heiberger" <address@hidden>
Subject: Re: [h-e-w] Emacs not finding the ".emacs" file
To: Stephen Leake <address@hidden>, address@hidden
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Stephen Leake
> Emacs looks for .emacs in $HOME. You need to define the HOME
> environment variable in the system control panel; set it to c:\Emacs


No, please don't do that.  The environment variable HOME is you.  It is
the emacs program or any other system value.

I use
Set this value in the
control panel/system/advance/environment variables/user variables
for W2000 and XP.

set it in autoexec.bat for older windows systems.

reply via email to

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