From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Location of .emacs in Windows 7 Date: Sun, 18 Jan 2015 18:41:18 +0200 Message-ID: <83d26cyrbl.fsf@gnu.org> References: <87mw5gyroz.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421599307 12343 80.91.229.3 (18 Jan 2015 16:41:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2015 16:41:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 18 17:41:46 2015 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 1YCsv4-0007NG-MI for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jan 2015 17:41:46 +0100 Original-Received: from localhost ([::1]:33973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCsv3-00015S-RC for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jan 2015 11:41:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCsut-00015A-Bj for help-gnu-emacs@gnu.org; Sun, 18 Jan 2015 11:41:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCsuq-0001Cj-4N for help-gnu-emacs@gnu.org; Sun, 18 Jan 2015 11:41:35 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:39237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCsup-0001CY-S8 for help-gnu-emacs@gnu.org; Sun, 18 Jan 2015 11:41:32 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NID00500SOQ5H00@mtaout27.012.net.il> for help-gnu-emacs@gnu.org; Sun, 18 Jan 2015 18:34:13 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NID001Z8SP1PM20@mtaout27.012.net.il> for help-gnu-emacs@gnu.org; Sun, 18 Jan 2015 18:34:13 +0200 (IST) In-reply-to: <87mw5gyroz.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 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:102144 Archived-At: > From: Jordan Wilson > Date: Sun, 18 Jan 2015 16:33:16 +0000 > > There's a file in the Emacs distribution (it's > share/emacs/site-lisp/site-start.el in 24.4 from ftp.gnu.org, it might > be in a different place on other versions) that allows you to define HOME, > i.e. what `~' expands to. IME, it's not a good idea to define HOME (or PATH or ...) inside Emacs differently than it's defined outside, because it will cause subtle problems, e.g. in programs not invoked from Emacs. It is best to define HOME in the environment outside Emacs, such that both Emacs and the other programs use the same value.