From: "hackevin" <hackevin@21cn.com>
Subject: Re: Defining directory ~/ on MS-Windows
Date: Wed, 17 Nov 2004 11:46:51 +0800 [thread overview]
Message-ID: <cnehjb$gng$1@news.yaako.com> (raw)
In-Reply-To: ud5yg8rg8.fsf@gorgeous.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 960 bytes --]
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
prev parent reply other threads:[~2004-11-17 3:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-13 22:34 Defining directory ~/ on MS-Windows graham
2004-11-14 4:44 ` Eli Zaretskii
2004-11-14 5:59 ` Slava
[not found] ` <mailman.2596.1100408165.8225.help-gnu-emacs@gnu.org>
2004-11-14 13:56 ` graham
2004-11-17 3:46 ` hackevin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='cnehjb$gng$1@news.yaako.com' \
--to=hackevin@21cn.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).