all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Vagn Johansen <gonz808@hotmail.com>
Cc: Emacs Help List <help-gnu-emacs@gnu.org>
Subject: Re: How do you create a .emacs for a pre-compiled version of Emacs 24.3?
Date: Sun, 21 Jul 2013 15:07:30 +0200	[thread overview]
Message-ID: <CAAeL0SRnUSVCA9TGjt80c_gQc+oe5pYeTjFf1Snjt3FWq5OwtA@mail.gmail.com> (raw)
In-Reply-To: <86r4esti77.fsf@hotmail.com>

On Sun, Jul 21, 2013 at 10:45 AM, Vagn Johansen <gonz808@hotmail.com> wrote:

> What is the value of HOME?

C:\> unset HOME & emacs -Q -batch --eval "(princ (getenv \"HOME\"))"
C:\Users\USERNAME\Appdata\Roaming

which is the value of APPDATA

You can take a look at w32.c:init_environment(), around line 2060 or so:

        if (get_folder_path != NULL)
          {
            profile_result = get_folder_path (NULL, CSIDL_APPDATA, NULL,
                                              0, default_home);

  Juanma



  reply	other threads:[~2013-07-21 13:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-14  1:54 How do you create a .emacs for a pre-compiled version of Emacs 24.3? sebastianeappen
2013-07-14  2:00 ` Pascal J. Bourguignon
2013-07-14  2:09   ` sebastianeappen
2013-07-15  0:59 ` Ken Goldman
2013-07-15  3:37   ` Jude DaShiell
2013-07-15  4:43     ` Eli Zaretskii
     [not found]     ` <mailman.1065.1373863439.12400.help-gnu-emacs@gnu.org>
2013-07-17 16:08       ` Vagn Johansen
2013-07-17 17:08         ` Eli Zaretskii
2013-07-20 22:03     ` Ken Goldman
     [not found]     ` <mailman.1492.1374357816.12400.help-gnu-emacs@gnu.org>
2013-07-21  8:45       ` Vagn Johansen
2013-07-21 13:07         ` Juanma Barranquero [this message]
     [not found]         ` <mailman.1507.1374412093.12400.help-gnu-emacs@gnu.org>
2013-07-21 14:59           ` Vagn Johansen
2013-07-21 15:16             ` Eli Zaretskii
2013-07-22  4:04             ` Yuri Khan
2013-07-15  3:00 ` Alan

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=CAAeL0SRnUSVCA9TGjt80c_gQc+oe5pYeTjFf1Snjt3FWq5OwtA@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=gonz808@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.
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.