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: Dhruva Krishnamurthy
Subject: Re: Slow access to files using UNC path
Date: Mon, 30 Aug 2004 10:41:51 +0530

Hello,

On 27 Aug 2004 09:19:03 -0400, "Stefan Monnier"
<address@hidden> said:
> > I applied the patch sent by the author (Mr.KOBAYASHI Yasuhiro), did a
> > 'make bootstrap', it did not work for me. I suspect the pattern match
> 
> The patch is basically "right", but only fixes one of the two (i.e. 2 of
> the 4) places.  Also I think the problem is not limited to UNC paths, but
> might apply to any "global network filesystem" such as AFS, but also
> NFS via /net.  So maybe we should add a setting like
> 
>         (defvar vc-hostname-fs-path-re
>         "\\`\\([\\/][\\/]\\|/net/\\|/afs/")
> 

May be this was the regexp intended:
(defvar vc-hostname-fs-path-re "\\`\\([\\/][\\/]\\)\\|/net/\\|/afs/")

This works for me (tested for UNC only). I made a change to the patch to
use the variable "vc-hostname-fs-path-re" and added the defvar in my
.emacs (this can be moved into the lower level elisp code). Maybe, we
can allow this to be customized by advanced users (defcustom).

-dhruva
________________________________________
Dhruva Krishnamurthy
Proud FSF member: #1935
http://schemer.fateback.com/





reply via email to

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