help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining directory ~/ on MS-Windows


From: Eli Zaretskii
Subject: Re: Defining directory ~/ on MS-Windows
Date: Sun, 14 Nov 2004 06:44:49 +0200

> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]