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: Defining directory ~/ on MS-Windows Date: Sun, 14 Nov 2004 06:44:49 +0200 Message-ID: <01c4ca04$Blat.v2.2.2$d20c06e0@zahav.net.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1100407650 7047 80.91.229.6 (14 Nov 2004 04:47:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2004 04:47:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 14 05:47:17 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 1CTCIG-0004lf-00 for ; Sun, 14 Nov 2004 05:47:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTCQu-0006UM-8o for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Nov 2004 23:56:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTCQl-0006UC-Q5 for help-gnu-emacs@gnu.org; Sat, 13 Nov 2004 23:56:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTCQl-0006Tw-7v for help-gnu-emacs@gnu.org; Sat, 13 Nov 2004 23:56:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTCQl-0006Ti-2U for help-gnu-emacs@gnu.org; Sat, 13 Nov 2004 23:56:03 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTCHx-0008To-6k for help-gnu-emacs@gnu.org; Sat, 13 Nov 2004 23:46:57 -0500 Original-Received: from zaretski ([80.230.158.138]) by legolas.inter.net.il (MOS 3.5.5-GR) with ESMTP id DCI21953 (AUTH halo1); Sun, 14 Nov 2004 06:46:55 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (graham@gorgeous.org) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21954 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21954 > From: graham@gorgeous.org > Date: Sat, 13 Nov 2004 22:34:12 +0000 > > On MS-Windows Emacs understands paths like ~/foo.txt. It converts > this to c:\foo.txt. I would like it to convert it to > c:\Documents and Settings\My User Name\foo.txt instead, like XEmacs does. > > How can this be done? "~" is a short for %HOME%. So, if you define the environment variable HOME whose value is "c:\Documents and Settings\Your User Name", you will get what you want. > I'm using Emacs from CVS (21.3.50.1) on Windows XP SP2. On Windows XP, environment variables are set thru the Control Panel.