emacs-devel
[Top][All Lists]
Advanced

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

Re: testing for a remote file to include file on a Windows mapped drive


From: Lennart Borgman (gmail)
Subject: Re: testing for a remote file to include file on a Windows mapped drive
Date: Sun, 20 Apr 2008 23:16:00 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Eli Zaretskii wrote:
Is WNetGetConnection useful for this?

What for?  GetDriveType is perfectly capable of telling us whether the
drive is networked or not.  Or did you mean something else?

No, I just did not know how to test it.

In any case, as long as the Unix code treats networked drives mounted
via NFS or similar as local ones, I will object doing otherwise on
Windows.  A primitive (separate from file-remote-p) that
differentiates between local and network-mounted volumes would be okay
with me, but only if it is supported on Unix as well.

Seems to be the right way.




reply via email to

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