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 mappeddrive


From: Eli Zaretskii
Subject: Re: testing for a remote file to include file on a Windows mappeddrive
Date: Sat, 26 Jan 2008 11:54:32 +0200

> From: "Drew Adams" <address@hidden>
> Date: Fri, 25 Jan 2008 23:30:54 -0800
> Cc: Emacs-Devel <address@hidden>, Jason Rumney <address@hidden>
> 
> > I think file-remote-p should really give a kind of performance and
> > reliability info: is the file available from local (i.e. fast and
> > reliable) storage, or is it only available via a network access which
> > may be slow and may fail.
> 
> Yes, I think that is the most common use of `file-remote-p', in any case.
> Whether that is, or needs to be, a true test of remoteness is another
> question. If not, the name could perhaps be changed.

No need to change the name: we could add an optional argument to
file-remote-p.

> I just want to know if it is likely to be remote, in which case I will skip
> certain operations.

What operations are those?  You never actually described the specific
problem you are trying to solve, did you?




reply via email to

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