From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
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 [thread overview]
Message-ID: <831s6m1zed.fsf@gnu.org> (raw)
In-Reply-To: <jwvlg4uwzhq.fsf-monnier+gmane.emacs.devel@gnu.org> (message from Stefan Monnier on Wed, 12 Dec 2018 10:16:14 -0500)
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> 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.
next prev parent reply other threads:[~2018-12-12 16:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-12 12:42 900276502f..: Paul Eggert 2018-11-13 Act like POSIX sh if $HOME is relative João Távora
2018-12-12 13:19 ` Yuri Khan
2018-12-12 14:54 ` João Távora
2018-12-12 15:22 ` Eli Zaretskii
2018-12-12 15:29 ` Drew Adams
2018-12-12 16:35 ` Eli Zaretskii
2018-12-12 13:28 ` Óscar Fuentes
2018-12-12 14:53 ` João Távora
2018-12-12 15:14 ` Óscar Fuentes
2018-12-12 15:28 ` João Távora
2018-12-12 16:55 ` Óscar Fuentes
2018-12-12 17:19 ` João Távora
2018-12-12 17:20 ` Eli Zaretskii
2018-12-12 15:16 ` Stefan Monnier
2018-12-12 16:30 ` Eli Zaretskii [this message]
2018-12-12 15:20 ` Eli Zaretskii
2018-12-12 15:30 ` João Távora
2018-12-12 16:35 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=831s6m1zed.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.