[Top][All Lists]

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

RE: [h-e-w] .emacs doesn't execute

From: Mike Campbell
Subject: RE: [h-e-w] .emacs doesn't execute
Date: Wed, 23 Apr 2003 20:09:57 -0400

If his problem is that emacs isn't reading his .emacs, then setting HOME *IN* his .emacs won't help, since it's not being read in the first place.
Anyway, I'm not sure what OS you're using, but if it's Windows NT, 2K, or XP, then you go into the Settings->Control Panel->System, and dig around in there until you find the "Environment Variables" tab.  (It might be hidden behind an "Advanced setting" button.) 
Once you find that, either find the "HOME" entry, see where it points and put your .emacs file there, *OR* change or add the entry to point to C:\ or D:\, or wherever you're comfortable it being.  Then put the .emacs where you set HOME to be.
-----Original Message-----
From: address@hidden [mailto:address@hiddenOn Behalf Of address@hidden
Sent: Wednesday, April 23, 2003 6:33 PM
To: address@hidden
Cc: address@hidden
Subject: Re: [h-e-w] .emacs doesn't execute

In a message dated 4/23/2003 3:58:06 PM Eastern Daylight Time, address@hidden writes:

I tried that.
SET HOME=d:\Emacs

Didn't help.

should it be
SET HOME=D:\Emacs\

No, it shouldn't.  It's not clear to me where you're setting the variable, but ..

C-x C-f  $HOME      followed by a space character should tell you what emacs thinks the HOME variable is.

Regardless, you can put your .emacs file in  ~/.emacs
So if you can't figure out how to set HOME, and assuming that your init file is in D:\emacs\.emacs , then
C-x C-f D:\emacs\.emacs
C-x C-w ~/.emacs
then restart emacs

If that doesn't work something is seriously wrong with your setup.

reply via email to

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