unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: patrol <patrol_boat@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Please help with location of .emacs file and .emacs.d folder location
Date: Mon, 9 Nov 2009 07:56:09 -0800 (PST)	[thread overview]
Message-ID: <c5d81590-fafa-49f6-8fb3-00144251310c@p28g2000vbi.googlegroups.com> (raw)

Hi,
I'm new to emacs, and my operating system is Win XP. I want to install
a bundle, but I'm getting stuck in terms of creating an .emacs file
and .emacs.d folder. They don't seem to exist after the install, and
I'm not sure where to put them myself. I've had a look at the Windows
FAQ section under "Where do I put my init file" and tried the steps as
suggested:

"If the environment variable HOME is set, use the directory it
indicates."
I looked under environmental variables in system properties, and the
variable HOME didn't exist.

"If the registry entry HKCU\SOFTWARE\GNU\Emacs\HOME is set, use the
directory it indicates."
I looked in the registry editor, and the key GNU doesn't exist.

"If the registry entry HKLM\SOFTWARE\GNU\Emacs\HOME is set, use the
directory it indicates. Not recommended, as it results in users
sharing the same HOME directory."
I didn't look here because it says 'not recommended'.

"If C:\.emacs exists, then use C:/. This is for backward
compatibility, as previous versions defaulted to C:/ if HOME was not
set."
.emacs (or _emacs) doesn't exist in the C: root.

"Use the user's AppData directory, usually a directory called
Application Data under the user's profile directory, the location of
which varies according to Windows version and whether the computer is
part of a domain."
I'm not sure about this. Should I just create a new folder
named .emacs.d in this directory? And should I just create a plain
text file .emacs in the directory as well?

Any help would be appreciated on this.
Thanks



             reply	other threads:[~2009-11-09 15:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 15:56 patrol [this message]
2009-11-09 22:28 ` Please help with location of .emacs file and .emacs.d folder location Lowell Gilbert
2009-11-11 18:28 ` Eli Zaretskii

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=c5d81590-fafa-49f6-8fb3-00144251310c@p28g2000vbi.googlegroups.com \
    --to=patrol_boat@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).