From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help 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 Message-ID: References: <86r4esti77.fsf@hotmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1374412102 5063 80.91.229.3 (21 Jul 2013 13:08:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Jul 2013 13:08:22 +0000 (UTC) Cc: Emacs Help List To: Vagn Johansen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 21 15:08:24 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V0tN6-0003it-OK for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Jul 2013 15:08:20 +0200 Original-Received: from localhost ([::1]:60609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0tN6-0004FA-8V for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Jul 2013 09:08:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0tMy-0004F4-0o for help-gnu-emacs@gnu.org; Sun, 21 Jul 2013 09:08:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0tMx-0002TW-6f for help-gnu-emacs@gnu.org; Sun, 21 Jul 2013 09:08:11 -0400 Original-Received: from mail-ee0-x236.google.com ([2a00:1450:4013:c00::236]:41573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0tMx-0002TC-0x for help-gnu-emacs@gnu.org; Sun, 21 Jul 2013 09:08:11 -0400 Original-Received: by mail-ee0-f54.google.com with SMTP id t10so3277975eei.41 for ; Sun, 21 Jul 2013 06:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Bi7B8/Uw1DteRjxLD9Ch051+8J7TQUkX4wRMWByt42U=; b=bvPBXpRRZiXRyhpXEQX+thlHGBanTD9lzq0By9tZzef7vWp36GMvai7b8UKWG3CGS9 ShX3I+Q8nPfwBTVJ1LMpC7+UjLjgHHiIoXClzq1fAaV6K2GHTmJsGKT9/udGiVRnOd+k hCBoDNcvtNfq91OfUg8sjmdIzj2KOtbWUmvszrJNVflu8oyFxRpxfkfVsnNfZLEOiMMp nhHr0P7KBx+ESPy3DKBIBQP41AbLTPLXiDJuADCxWLf2PrCJOFMUzakQgEt+/B+dng5t nLQKPBURpenLlwJvF2J8SJrdJVEa7xmOdTMm2pXNmUroqvxpbqi7CjcAbHsgngZ8ihVG tTNw== X-Received: by 10.15.36.133 with SMTP id i5mr23606732eev.52.1374412090401; Sun, 21 Jul 2013 06:08:10 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Sun, 21 Jul 2013 06:07:30 -0700 (PDT) In-Reply-To: <86r4esti77.fsf@hotmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92288 Archived-At: On Sun, Jul 21, 2013 at 10:45 AM, Vagn Johansen 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