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: Mon, 13 Sep 2004 12:20:09 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <68c73b1a04091223507210add9@mail.gmail.com> References: <68c73b1a04083122477869f5a@mail.gmail.com> <68c73b1a0409080600626643cf@mail.gmail.com> <68c73b1a040908220473b70936@mail.gmail.com> <68c73b1a04090823245a5d027c@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 1095058248 22404 80.91.229.6 (13 Sep 2004 06:50:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 06:50:48 +0000 (UTC) Cc: Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 13 08:50:33 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 1C6kfZ-0003Rl-00 for ; Mon, 13 Sep 2004 08:50:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6kl5-0006mc-2I for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2004 02:56:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6kky-0006mW-S9 for emacs-devel@gnu.org; Mon, 13 Sep 2004 02:56:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6kkx-0006ly-BG for emacs-devel@gnu.org; Mon, 13 Sep 2004 02:56:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6kkx-0006lt-7K for emacs-devel@gnu.org; Mon, 13 Sep 2004 02:56:07 -0400 Original-Received: from [64.233.170.193] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C6kfF-00086x-K6 for emacs-devel@gnu.org; Mon, 13 Sep 2004 02:50:13 -0400 Original-Received: by mproxy.gmail.com with SMTP id 74so101888rnk for ; Sun, 12 Sep 2004 23:50:10 -0700 (PDT) Original-Received: by 10.38.9.80 with SMTP id 80mr1075760rni; Sun, 12 Sep 2004 23:50:09 -0700 (PDT) Original-Received: by 10.38.102.67 with HTTP; Sun, 12 Sep 2004 23:50:09 -0700 (PDT) Original-To: Stefan Monnier 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:27066 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27066 On Thu, 09 Sep 2004 16:54:22 -0400, Stefan Monnier wrote: > --- orig/lisp/vc-hooks.el > +++ mod/lisp/vc-hooks.el > @@ -52,6 +52,12 @@ > (defvar vc-header-alist ()) > (make-obsolete-variable 'vc-header-alist 'vc-BACKEND-header) > > +(defvar vc-ignore-dir-regexp "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)\\'" > + "Regexp matching directory names that are not under VC's control. > +The default regexp prevents fruitless and time-consuming attempts The above regexp does not work. The working regexp (when I try to open a file at '//wolfdei/d/users/dhruva/_emacs') is as follows: (defvar vc-ignore-dir-regexp "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)") Hence, if I put the following line in my _emacs (dot emacs), it works fine: (setq vc-ignore-dir-regexp "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)") with best regards, dhruva -- Proud FSF member: #1935 http://schemer.fateback.com/