unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "rgb" <rbielaws@i1.net>
Subject: Re: emacs for winXP (where to put the .emacs file)?
Date: 18 Oct 2005 14:44:17 -0700	[thread overview]
Message-ID: <1129671857.005430.299780@g14g2000cwa.googlegroups.com> (raw)
In-Reply-To: dj3m7b$ctd$1@news.net.uni-c.dk

> 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

      reply	other threads:[~2005-10-18 21:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 20:33 emacs for winXP (where to put the .emacs file)? Paminu
2005-10-18 21:44 ` rgb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1129671857.005430.299780@g14g2000cwa.googlegroups.com \
    --to=rbielaws@i1.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).