From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Slow access to files using UNC path Date: Mon, 13 Sep 2004 08:39:17 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <68c73b1a04083122477869f5a@mail.gmail.com> <68c73b1a0409080600626643cf@mail.gmail.com> <68c73b1a040908220473b70936@mail.gmail.com> <68c73b1a04090823245a5d027c@mail.gmail.com> <68c73b1a04091223507210add9@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095081883 17158 80.91.229.6 (13 Sep 2004 13:24:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 13:24:43 +0000 (UTC) Cc: Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 13 15:24:28 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 1C6qoX-00036P-00 for ; Mon, 13 Sep 2004 15:24:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6qu4-0006t4-9K for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2004 09:29:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C6qtx-0006st-N6 for emacs-devel@gnu.org; Mon, 13 Sep 2004 09:29:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C6qtw-0006sb-VZ for emacs-devel@gnu.org; Mon, 13 Sep 2004 09:29:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C6qtw-0006sY-Rx for emacs-devel@gnu.org; Mon, 13 Sep 2004 09:29:48 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C6qoN-0007Ne-A1 for emacs-devel@gnu.org; Mon, 13 Sep 2004 09:24:03 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 170FBB3073D; Mon, 13 Sep 2004 08:39:18 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id D1FE08CA23; Mon, 13 Sep 2004 08:39:17 -0400 (EDT) Original-To: Dhruva Krishnamurthy In-Reply-To: <68c73b1a04091223507210add9@mail.gmail.com> (Dhruva Krishnamurthy's message of "Mon, 13 Sep 2004 12:20:09 +0530") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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:27077 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27077 >> +(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/\\)") As explained, such a regexp will indeed stop VC from mucking around in // but it will do that *everywhere*, which is not what you want if your home directory is on //myserver/myhome since it means that VC just won't work at all for you. Stefan