all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: windows: find init
Date: Sat, 13 Jun 2015 11:15:50 +0300	[thread overview]
Message-ID: <83bngkqb0p.fsf@gnu.org> (raw)
In-Reply-To: <4cd711ae-d043-48f2-9332-444d85059274@googlegroups.com>

> Date: Fri, 12 Jun 2015 20:42:25 -0700 (PDT)
> From: Rusi <rustompmody@gmail.com>
> Injection-Date: Sat, 13 Jun 2015 03:42:26 +0000
> 
> On Saturday, June 13, 2015 at 9:05:21 AM UTC+5:30, Vaidheeswaran C wrote:
> > On Saturday 13 June 2015 08:49 AM, Rusi wrote:
> > > Some students of mine have shown willingness to work with emacs
> > > However the problems of setup on windows are proving beyond me.
> > > 
> > > In particular, on windows, where is the emacs setup file/directory?
> > 
> > http://www.gnu.org/software/emacs/manual/html_mono/efaq-w32.html#Location-of-init-file
> 
> [Not on windows now so from memory]
> Yeah I know that page
> And I tried those env-variable setting options [for a couple of hours] before
> giving up

I'm guessing you have added/changed the environment variables or
Registry values without logoff/logon afterwards, and expected that to
work.  It won't.

To try which of the variables and values work for you, do this:

  . set/change the variable from the Windows shell prompt, as in
    "set HOME=c:\wherever\you\want"

  . run Emacs from the same shell prompt

Once you've decided which variable you want to set and to what value,
make it permanent by right-clicking "My Computer" (or "Computer" on
post-XP versions), selecting Properties->Advanced, find "Environment
Variables" there, and change them as you decided.  Then logoff and
logon again, or restart the system.  Now the new value of the
environment variable will be in effect no matter how you invoke Emacs:
you can do that from a shell prompt, from a desktop shortcut, or from
the Start->Run dialog, whatever.

That said, there's nothing wrong with using the default without
setting HOME in the environment.  The default puts .emacs in a decent
place, and users can always reach it with "C-x C-f ~/.emacs RET"
without knowing where it is on their system.



  reply	other threads:[~2015-06-13  8:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-13  3:19 windows: find init Rusi
2015-06-13  3:32 ` Vaidheeswaran C
2015-06-13  8:07   ` Eli Zaretskii
2015-06-13  8:17     ` Vaidheeswaran C
2015-06-13  8:43       ` Eli Zaretskii
2015-06-13  9:10         ` Vaidheeswaran C
2015-06-13  9:35           ` Eli Zaretskii
2015-06-13  9:40             ` Vaidheeswaran C
     [not found] ` <mailman.4887.1434166518.904.help-gnu-emacs@gnu.org>
2015-06-13  3:42   ` Rusi
2015-06-13  8:15     ` Eli Zaretskii [this message]
     [not found]     ` <mailman.4896.1434183362.904.help-gnu-emacs@gnu.org>
2015-06-13 11:56       ` Rusi
2015-06-13 13:01         ` Eli Zaretskii
2015-06-13  4:32 ` John Mastro

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

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

  git send-email \
    --in-reply-to=83bngkqb0p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.