emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow access to files using UNC path


From: Andreas Schwab
Subject: Re: Slow access to files using UNC path
Date: Wed, 01 Sep 2004 15:27:02 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Dhruva Krishnamurthy <address@hidden> writes:

>  A suggestion, to avoid confusion by modifying file-remote-p would be
> to use file-local-p
>
> (defvar remote-fs-path-re "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)") 
> (defun file-local-p (file)
>  "Returns t if local file or nil for remote file"

I don't think you should use the term "remote" here, it already has a
specific meaning in Emacs not matching the intended meaning here.  It
should be made clear that this predicate is not just the opposite of
file-remote-p.  Something like "network filesystem" might be better.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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