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: hackevin
Subject: Re: Defining directory ~/ on MS-Windows
Date: Wed, 17 Nov 2004 11:46:51 +0800

and also you can add the following part to your register
---------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\GNU]

[HKEY_LOCAL_MACHINE\SOFTWARE\GNU\Emacs]
"HOME"="D:\\GNU\\Emacs"
---------------------------------------------------------

<graham@gorgeous.org> дÈëÏûÏ¢ÐÂÎÅ:ud5yg8rg8.fsf@gorgeous.org...
> "Eli Zaretskii" <eliz@gnu.org> 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 




reply via email to

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