From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: $HOME var Date: Sat, 08 Mar 2003 11:24:34 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5137-Sat08Mar2003112434+0200-eliz@elta.co.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047115770 12241 80.91.224.249 (8 Mar 2003 09:29:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2003 09:29:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 08 10:29:28 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18rae0-0003BE-00 for ; Sat, 08 Mar 2003 10:29:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18rae5-00006Q-01 for gnu-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2003 04:29:33 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18radp-000067-00 for help-gnu-emacs@gnu.org; Sat, 08 Mar 2003 04:29:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18rado-00005Y-00 for help-gnu-emacs@gnu.org; Sat, 08 Mar 2003 04:29:16 -0500 Original-Received: from gandalf.inter.net.il ([192.114.186.22]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18radn-0008Vw-00 for help-gnu-emacs@gnu.org; Sat, 08 Mar 2003 04:29:15 -0500 Original-Received: from zaretsky ([80.230.235.19]) by gandalf.inter.net.il (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id AIA90531; Sat, 8 Mar 2003 11:29:12 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from Chris McMahan on 07 Mar 2003 16:38:33 -0500) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7420 > From: Chris McMahan > Newsgroups: gnu.emacs.help > Date: 07 Mar 2003 16:38:33 -0500 > > So to set your HOME variable from within emacs, > (setenv "HOME" "c:/documents\ and\ settings/username") I don't recomment this: it creates a dangerous disparity between the environment used by Emacs and the environment passed by Emacs to its subprocesses. In the archives of this thread, you will find many examples of trouble into which this could get unsuspecting users.