emacs-devel
[Top][All Lists]
Advanced

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

Re: 900276502f..: Paul Eggert 2018-11-13 Act like POSIX sh if $HOME is r


From: Eli Zaretskii
Subject: Re: 900276502f..: Paul Eggert 2018-11-13 Act like POSIX sh if $HOME is relative
Date: Wed, 12 Dec 2018 18:30:02 +0200

> From: Stefan Monnier <address@hidden>
> Date: Wed, 12 Dec 2018 10:16:14 -0500
> 
> > I was about to post a reply but Yuri already answered, so I'll only add
> > a pointer to an official reference about this topic:
> > https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats
> 
> Emacs only has `default-directory` to keep track of the "current
> directory" so it has no notion of having a different "current directory"
> on every "drive".

Emacs doesn't, but some systems do.

> So I think a $HOME of "z:" should be converted early on to
> "z:/<something>" and after that, "p:" can only be interpreted by Emacs
> as "p:/"

That's what Emacs was always doing on Windows, but not on DOS.  I see
no reason to change this behavior, it doesn't contradict the changes
we did for the HOME directory being a relative file name.



reply via email to

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