From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dhruva Krishnamurthy Newsgroups: gmane.emacs.devel Subject: Re: Slow access to files using UNC path Date: Wed, 8 Sep 2004 14:23:55 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <68c73b1a04090801537f441703@mail.gmail.com> References: <68c73b1a04083122477869f5a@mail.gmail.com> <1094020967.1821.22.camel@localhost> <68c73b1a040907234950a01f97@mail.gmail.com> Reply-To: Dhruva Krishnamurthy NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094633726 9546 80.91.224.253 (8 Sep 2004 08:55:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Sep 2004 08:55:26 +0000 (UTC) Cc: Emacs Devel , KOBAYASHI Yasuhiro , Stefan Monnier , Andre Spiegel , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 08 10:55:02 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C4yEG-0004fB-00 for ; Wed, 08 Sep 2004 10:55:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4yJW-0007bD-Nq for ged-emacs-devel@m.gmane.org; Wed, 08 Sep 2004 05:00:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C4yIl-0007Zv-Po for emacs-devel@gnu.org; Wed, 08 Sep 2004 04:59:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C4yIk-0007Zd-QM for emacs-devel@gnu.org; Wed, 08 Sep 2004 04:59:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4yIk-0007ZT-L6 for emacs-devel@gnu.org; Wed, 08 Sep 2004 04:59:38 -0400 Original-Received: from [64.233.170.193] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C4yDE-0005LT-7C for emacs-devel@gnu.org; Wed, 08 Sep 2004 04:53:56 -0400 Original-Received: by mproxy.gmail.com with SMTP id 76so253738rnk for ; Wed, 08 Sep 2004 01:53:55 -0700 (PDT) Original-Received: by 10.38.24.70 with SMTP id 70mr2595062rnx; Wed, 08 Sep 2004 01:53:55 -0700 (PDT) Original-Received: by 10.38.102.67 with HTTP; Wed, 8 Sep 2004 01:53:55 -0700 (PDT) Original-To: "Kim F. Storm" In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26882 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26882 On Wed, 08 Sep 2004 10:18:14 +0200, Kim F. Storm wrote: > Dhruva Krishnamurthy writes: > > IMO, a better name would be something like `vc-ignore-file-re'. > > (defvar vc-ignore-file-re "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)" > "Regular expression matching file names that are not under vc control. > Specifically, it is used to avoid determining whether file is under vc-arch > or vc-mcvs. The default regexp prevents the determination of type of vc for > folders in UNC, net and afs. This speeds up opening of files by not trying to > determine whether file is under vc. This can be modified by user to match a > different directory or file names.") Accept, the above looks much better. if I make a new patch and submit, will someone check it in? I have no write access. > BTW, I don't understand why this is specific for vc-arch and vc-mcvs ? > >>From my understanding after reading comments in vc.el (Adding support for other backends), vc-backend-registered is implemented for the new "backend". I did a grep and found only "arch" and "mcvs" implements this. So, the fix is isolated to these two files. with best regards, dhruva -- ________________________________________ Dhruva Krishnamurthy Proud FSF member: #1935 http://schemer.fateback.com/