[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: Thu, 26 Aug 2004 10:06:07 +0530

 I applied the patch (manually as I do not have a patch utility on
 win32). It does not seem to make a difference to me. Let me explain the
 steps I followed.
1. I manually applied the on to the files
2. Byte compiled them
3. Re-started emacs and tried accessing the file in UNC (without my
defadvice hack)
4. It took the same time.

One observation I have made which might help in identifying the cause.
 When I open the file literally, it is real fast. As fast as opening a
 local file. When I change the mode (as per file contents, ex: If I open
 a C++ file, I change it to c++-mode) and _then_ try to _save_ the
 changes, it again takes a very long time.
 So, the time I save by opening a file literally is lost when I try to
 save the changes. If I open the same file as usual, I spend the long
 time while opening the file but saving is _fast_ (as for any local
 With this, I feel it is not something with search (as the patch seems
 to change). I may be wrong in my deduction, correct me if so.

with best regards,

On Wed, 25 Aug 2004 18:44:08 +0900, "KOBAYASHI Yasuhiro"
<address@hidden> said:
> Maybe I found out the reason why slow access occured.
> '(file-directory-p "//{arch}")' or '(file-directory-p "//MCVS/CVS")'
> is executed in vc-arch-registered or vc-mcvs-registered
> even though '{arch}' or 'MCVS' as computers dosen't exist.
> So what about the following patch?
Dhruva Krishnamurthy
Proud FSF member: #1935

reply via email to

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