From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: $USERPROFILE for $HOME on W32 Date: Thu, 25 Nov 2004 22:46:45 +0000 Message-ID: References: <87vfbycsgj.fsf-monnier+emacs@gnu.org> <87mzx69bkn.fsf-monnier+emacs@gnu.org> <41A609B2.6020202@gnu.org> <01c4d339$Blat.v2.2.2$267c6660@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1101422874 32511 80.91.229.6 (25 Nov 2004 22:47:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Nov 2004 22:47:54 +0000 (UTC) Cc: Stefan , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 25 23:47:44 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CXSOt-0006Sc-00 for ; Thu, 25 Nov 2004 23:47:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXSY6-0002Bp-1j for ged-emacs-devel@m.gmane.org; Thu, 25 Nov 2004 17:57:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CXSXh-00022b-C5 for emacs-devel@gnu.org; Thu, 25 Nov 2004 17:56:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CXSXe-000223-Uc for emacs-devel@gnu.org; Thu, 25 Nov 2004 17:56:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CXSXe-00021g-Jw for emacs-devel@gnu.org; Thu, 25 Nov 2004 17:56:46 -0500 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CXSOF-0004V0-E3; Thu, 25 Nov 2004 17:47:04 -0500 Original-Received: from wanchan.jasonrumney.net (i-195-137-77-250.freedom2surf.net [195.137.77.250]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id iAPMkxnF001463; Thu, 25 Nov 2004 22:46:59 GMT Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 50CFCDDD16; Thu, 25 Nov 2004 22:46:58 +0000 (GMT) Original-To: Eli Zaretskii In-Reply-To: <01c4d339$Blat.v2.2.2$267c6660@zahav.net.il> (Eli Zaretskii's message of "Thu, 25 Nov 2004 23:52:05 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30364 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30364 "Eli Zaretskii" writes: >> Does anyone know where the %emacs_dir% expansion takes place in the current >> code > > It's on line 1005 of w32.c and again on line 1029 there (the former > for running Emacs from a standard installation of the binary package, > the latter for running from the build directory). The function that > does that is init_environment. Line 1055 is where the actual expansion takes place in both cases.