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: Drew Adams
Subject: RE: testing for a remote file to include file on a Windows mapped drive
Date: Sat, 26 Jan 2008 08:55:48 -0800

> > . file-remote-p
> > . ffap-file-remote-p
> > . dired-sort-menu-remote-p
> >   "\\`/\\([^@:/address@hidden)?\\([^:/]+\\):"
> > . ange-ftp-name-format
> >   "\\`/\\(\\([^/:]*\\)@\\)?\\([^@/:]*[^@/:.]\\):\\(.*\\)"
> > . remote (ange-ftp) filenames (see make-auto-save-file-name)
> >   "^/address@hidden:"
> > . ffap-ftp-regexp
> >   "\\`/[^/:]+:"
>
> These all make sense only in the context of the features that define
> them.  In general, Emacs does not consider files on a mounted volume
> to be remote.  The notion of remote files is in conjunction with Emacs
> features that access files in ways that are not the normal filesystem
> APIs.
>
> It sounds like you want something entirely different

As I said, I want to know if a file name is likely to represent a remote
file (in the Emacs sense you cited) or a file on a mapped network drive.

The reason is to avoid the time needed to access the remote machine. That's
the same reason that most of the above were defined, but they don't handle
the network-drive case.





reply via email to

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