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, 30 Aug 2004 10:41:51 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <1093842711.21975.203305986@webmail.messagingengine.com> References: <1089978045.7826.200489429@webmail.messagingengine.com> <1090070598.482.200548261@webmail.messagingengine.com> <2914-Sun18Jul2004070932+0300-eliz@gnu.org> <1090131145.14224.200572407@webmail.messagingengine.com> <2914-Sun18Jul2004214112+0300-eliz@gnu.org> <1090211717.23633.200609317@webmail.messagingengine.com> <7494-Mon19Jul2004210954+0300-eliz@gnu.org> <1093494967.3662.203084298@webmail.messagingengine.com> <1093510226.21921.203094523@webmail.messagingengine.com> <1093579196.32419.203160583@webmail.messagingengine.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1093842752 9986 80.91.224.253 (30 Aug 2004 05:12:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2004 05:12:32 +0000 (UTC) Cc: kobayays@otsukakj.co.jp, Richard Stallman , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 30 07:12:24 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 1C1eSt-0002I1-00 for ; Mon, 30 Aug 2004 07:12:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1eXh-0001PE-Ua for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2004 01:17:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C1eXZ-0001P8-Qb for emacs-devel@gnu.org; Mon, 30 Aug 2004 01:17:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C1eXY-0001Oj-Ar for emacs-devel@gnu.org; Mon, 30 Aug 2004 01:17:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1eXY-0001Og-8S for emacs-devel@gnu.org; Mon, 30 Aug 2004 01:17:12 -0400 Original-Received: from [66.111.4.30] (helo=frontend1.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C1eSO-0000ma-1v; Mon, 30 Aug 2004 01:11:52 -0400 Original-Received: from server2.messagingengine.com (server2.internal [10.202.2.133]) by frontend1.messagingengine.com (Postfix) with ESMTP id BA8DAC153F1; Mon, 30 Aug 2004 01:11:51 -0400 (EDT) Original-Received: by server2.messagingengine.com (Postfix, from userid 99) id A96CE82948; Mon, 30 Aug 2004 01:11:51 -0400 (EDT) Content-Disposition: inline X-Mailer: MIME::Lite 1.5 (F2.72; T1.001; A1.62; B3.01; Q3.01) In-Reply-To: Original-To: "Stefan Monnier" X-Sasl-Enc: Sc5ZoTCsqE+8emkqGfhrbA 1093842711 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:26612 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26612 Hello, On 27 Aug 2004 09:19:03 -0400, "Stefan Monnier" said: > > I applied the patch sent by the author (Mr.KOBAYASHI Yasuhiro), did a > > 'make bootstrap', it did not work for me. I suspect the pattern match > > The patch is basically "right", but only fixes one of the two (i.e. 2 of > the 4) places. Also I think the problem is not limited to UNC paths, but > might apply to any "global network filesystem" such as AFS, but also > NFS via /net. So maybe we should add a setting like > > (defvar vc-hostname-fs-path-re > "\\`\\([\\/][\\/]\\|/net/\\|/afs/") > May be this was the regexp intended: (defvar vc-hostname-fs-path-re "\\`\\([\\/][\\/]\\)\\|/net/\\|/afs/") This works for me (tested for UNC only). I made a change to the patch to use the variable "vc-hostname-fs-path-re" and added the defvar in my .emacs (this can be moved into the lower level elisp code). Maybe, we can allow this to be customized by advanced users (defcustom). -dhruva ________________________________________ Dhruva Krishnamurthy Proud FSF member: #1935 http://schemer.fateback.com/