[Top][All Lists]

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

RE: abbreviate-file-name on Windows seems incorrect

From: Drew Adams
Subject: RE: abbreviate-file-name on Windows seems incorrect
Date: Sat, 6 Jan 2007 14:42:45 -0800

> > I see. To tell the truth, I didn't bother to change $HOME
> > outside Emacs and start emacs -Q again to test the case other
> > than HOME = "c:\\". I did try using `setenv' to change "HOME",
> > but that apparently doesn't have an effect here.
> setenv only manipulates the environment that is passed to child
> processes, but does not modify Emacs's own environment.

Right. That's what I concluded, after your first explanation.

The `setenv' doc string does speak of `process-environment', but I think it
wouldn't hurt to explicitly point out that the current environment that
Emacs itself sees is not affected.

> > How about mentioning in the doc string that "~" is not
> > substituted for the user's home dir if that is the root.
> > ("/" in Unix or Linux, "<drive-letter>:\" in Windows)?
> Done.


reply via email to

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