From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Location of .emacs in Windows 7
Date: Sat, 17 Jan 2015 03:02:39 +0100 [thread overview]
Message-ID: <878uh2qi4g.fsf@wanadoo.es> (raw)
In-Reply-To: m9cauv$3rp$1@speranza.aioe.org
Steve Graham <jsgrahamus@yahoo.com> writes:
> Using C-x C-f I can read in, edit and store .emacs in ~/.emacs .
> However, when I search for the file, I cannot find it.
There is a well-defined rule for what Emacs considers `home' (see the
"Windows HOME" node on the Emacs documentation.)
But if you just want a simple method for controlling what `~' means for
Emacs, just define a HOME environment variable (on the Control Panel)
containing the directory you wish to be `~' (said directory must exist
before running Emacs.) At startup, Emacs will read that environment
variable and interpret `~' as a shortcut to the directory it mentions.
OTOH, if you wish to know what `~' expands *now* to in Emacs, just visit
that directory with `C-x d ~ [ENTER]' and you will see on the top part
of the resulting buffer the complete path to `~', along with its
contents.
[snip]
next prev parent reply other threads:[~2015-01-17 2:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-17 0:38 Location of .emacs in Windows 7 Steve Graham
2015-01-17 2:02 ` Óscar Fuentes [this message]
2015-01-17 2:12 ` Marcin Borkowski
2015-01-18 16:33 ` Jordan Wilson
2015-01-18 16:41 ` 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=878uh2qi4g.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--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).