[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slow access to files using UNC path
From: |
Dhruva Krishnamurthy |
Subject: |
Re: Slow access to files using UNC path |
Date: |
Wed, 1 Sep 2004 18:45:36 +0530 |
On Wed, 01 Sep 2004 14:13:46 +0200, Andreas Schwab <address@hidden> wrote:
> can be accessed by the normal file operations, so it is not a remote
> location according to file-remote-p.
I meant the function name is somewhat similar to what we want but not
the behavior. IMO, ideally in Emacs, something-p (like symbolp or
functionp..) is used to test the argument, along the same line, I
thought file-remote-p or dir-remote-p would be intuitive to test
whether file/dir is a remote or not.
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"
(not (string-match remote-fs-path-re file)))
and use (not (file-local-p dir)) in the earlier patch...
with best regards,
dhruva
--
________________________________________
Dhruva Krishnamurthy
Proud FSF member: #1935
http://schemer.fateback.com/
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/01
- Re: Slow access to files using UNC path, KOBAYASHI Yasuhiro, 2004/09/01
- Re: Slow access to files using UNC path, Andre Spiegel, 2004/09/01
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/01
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/01
- Re: Slow access to files using UNC path, Andreas Schwab, 2004/09/01
- Re: Slow access to files using UNC path,
Dhruva Krishnamurthy <=
- Re: Slow access to files using UNC path, Andreas Schwab, 2004/09/01
- Re: Slow access to files using UNC path, Stefan Monnier, 2004/09/01
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/08
- Re: Slow access to files using UNC path, Kim F. Storm, 2004/09/08
- Re: Slow access to files using UNC path, Miles Bader, 2004/09/08
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/08
- Re: Slow access to files using UNC path, Stefan, 2004/09/08
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/08
- Re: Slow access to files using UNC path, Stefan Monnier, 2004/09/08
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Slow access to files using UNC path, Dhruva Krishnamurthy, 2004/09/13