unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs for winXP (where to put the .emacs file)?
@ 2005-10-18 20:33 Paminu
  2005-10-18 21:44 ` rgb
  0 siblings, 1 reply; 2+ messages in thread
From: Paminu @ 2005-10-18 20:33 UTC (permalink / raw)


I have just installed emacs for winXP. But where do I put my .emacs file? Do 
I need to add something in my path first? 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs for winXP (where to put the .emacs file)?
  2005-10-18 20:33 emacs for winXP (where to put the .emacs file)? Paminu
@ 2005-10-18 21:44 ` rgb
  0 siblings, 0 replies; 2+ messages in thread
From: rgb @ 2005-10-18 21:44 UTC (permalink / raw)


> I have just installed emacs for winXP. But where do I put my .emacs file? Do
> I need to add something in my path first?

If you set a HOME environment variable it's value defines where
your .emacs goes.  If you're satisfied with whereever the default
might land you can just use ~\.emacs and Emacs will handle the rest.

Although you can set environment variables at the system level from
[My Computer][Properties][Advanced][Environment Variables]
You can also create .bat files that contain different values
for HOME which you might use for different purposes.

set home=H:\EmacsStuff
Causes Emacs to look for h:\EmacsStuff\.emacs

Or you could do it this way to avoid the need to
actually change the .bat file.

set home=%~dp0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-18 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-18 20:33 emacs for winXP (where to put the .emacs file)? Paminu
2005-10-18 21:44 ` rgb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).