emacs-devel
[Top][All Lists]
Advanced

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

Re: find-file takes forever on slow network file systems and very deep d


From: Eli Zaretskii
Subject: Re: find-file takes forever on slow network file systems and very deep directories
Date: Fri, 26 Sep 2008 18:41:47 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  Andrzej Leszczynski <address@hidden>
> Date: Fri, 26 Sep 2008 11:05:51 -0400
> 
> > Does anyone have any thoughts on how to avoid such a significant
> > performance hit (15 sec for a simple `find-file') on Samba volumes, as
> > opposed to just 2 seconds in Emacs 21.x, which didn't automatically
> > have `vc-find-file-hook' on the `find-file-hook' list?
> 
> > If there's no good cure, we should at least provide a user option to
> > avoid putting `vc-find-file-hook' on `find-file-hook', or maybe allow
> > finer-grain control of it, like per filesystem.
> 
> AFAIK, the same happened under Emacs-21.

Not with "emacs -Q", AFAICS.

> 2 - Set vc-ignore-dir-regexp to turn off VC in your Samba subtree.

That'd be the solution I was looking for.  Thanks.

Andy, does this do what you want?

(I still have on my TODO to make most callers of `stat' on Windows
bind w32-get-true-file-attributes to nil, which will make find-file
even faster.)




reply via email to

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