From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: graham@gorgeous.org Newsgroups: gmane.emacs.help Subject: Re: Defining directory ~/ on MS-Windows Date: Sun, 14 Nov 2004 13:56:23 +0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100440884 9714 80.91.229.6 (14 Nov 2004 14:01:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2004 14:01:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 14 15:01:19 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 1CTKwR-0003EV-00 for ; Sun, 14 Nov 2004 15:01:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTL55-0003tb-NW for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Nov 2004 09:10:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:xdExOynOTCgly7zmA034KTlItVI= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 20 Original-Xref: shelby.stanford.edu gnu.emacs.help:126568 Original-To: help-gnu-emacs@gnu.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:21963 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21963 "Eli Zaretskii" writes: >> 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. Thanks, this did the trick. Graham