Charles G Waldman <cgw(a)pgt.com> writes:
(1) (warning/warning) Error caught in
`make-auto-save-file-name':
Creating directory: No such file or directory, c:\home\cgw\home\cgw\/.autosave
(HOME is /home/cgw; this is apparently getting doubled up somehow)
It could be a bug in the NT expand-file-name routines (what does
(expand-file-name "test" "~/test/") give under your machines).
I do not know the NT port but shouldn't HOME be a directory including
driveletter since otherwise it is not uniquely specified?
The funny thing is that XEmacs tries to do its best to copy with funny
HOME values but on NT it seems to be switched of explicitly:
if (IS_DIRECTORY_SEP (nm[1])
|| nm[1] == 0) /* ~ by itself */
{
if (!(newdir = (Bufbyte *) get_home_directory()))
newdir = (Bufbyte *) "";
nm++;
#ifdef WINDOWSNT
collapse_newdir = 0;
#endif
}
The collapse_newdir explicitly tells XEmacs to not consider the fact your
HOME prefix starts with a / and just prepend the current dir which
happened to be c:\home\cgw in your case. It seems bogus to me.
Could you try removing that code and then test what happends to expand
file name in all case. i.e. with
1. HOME includes driveletter
2. HOME does not include drive letter.
3. HOME is a network path
Jan