"Kirill M. Katsnelson" <kkm(a)kis.ru> writes:
| Should this be changed to force HOME to be C:/, if HOME isn't
set?
| Setting it to "C:/" is probably consistent with NTEmacs, but it's
| different from the way XEmacs currently works (without this
| patch).
I do not think so. I think that XEmacs must generate warnings like
"Cannot determine home directory" or such. Otherwise, if things go
silently, it is 1) terrible mess having C:/.xemacs/* stuff 2)
unobvious place to put .emacs in. ("Wherever I put .emacs, XEmacs
ignores it". Personally, I would try C:\ *after* anything else, if
tried at all...)
Whatever we do, please note that (getenv "HOME") is definitely the
Wrong Thing to do. We should create a `user-home-directory' function
which would do the necessary magic of finding a system-specific home
directory. All the places that use (getenv "HOME") should be fixed to
use the new function.
The suggestion comes from Ben.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Thou Who might be our Father Who perhaps may be in Heaven...
-- Roger Zelazny