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 14:57:59 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <1093858079.22132.203315190@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> <1093842711.21975.203305986@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 1093858125 9876 80.91.224.253 (30 Aug 2004 09:28:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2004 09:28:45 +0000 (UTC) Cc: Emacs Devel , kobayays@otsukakj.co.jp, Stefan Monnier , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 30 11:28:34 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 1C1iSo-0005Se-00 for ; Mon, 30 Aug 2004 11:28:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1iXc-0002bT-MU for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2004 05:33:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C1iXR-0002Zu-D1 for emacs-devel@gnu.org; Mon, 30 Aug 2004 05:33:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C1iXP-0002Zi-H7 for emacs-devel@gnu.org; Mon, 30 Aug 2004 05:33:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1iXP-0002Zf-D2 for emacs-devel@gnu.org; Mon, 30 Aug 2004 05:33:19 -0400 Original-Received: from [66.111.4.30] (helo=frontend1.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C1iSG-0000vi-NM; Mon, 30 Aug 2004 05:28:00 -0400 Original-Received: from server2.messagingengine.com (server2.internal [10.202.2.133]) by frontend1.messagingengine.com (Postfix) with ESMTP id D74F4C14F12; Mon, 30 Aug 2004 05:27:59 -0400 (EDT) Original-Received: by server2.messagingengine.com (Postfix, from userid 99) id 9E1247E019; Mon, 30 Aug 2004 05:27:59 -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: "Andreas Schwab" X-Sasl-Enc: iy4nkkVB1eP89hGSVL333g 1093858079 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:26617 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26617 On Mon, 30 Aug 2004 10:32:16 +0200, "Andreas Schwab" said: > "Dhruva Krishnamurthy" writes: > > G> 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/") > > Try this instead: > > (defvar vc-hostname-fs-path-re "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)") > After applying the patch, I do a 'make bootstrap' and I get an error reporting "vc-hostname-fs-path-re" not found. It is because, the patch alters the autoloads and the variable is not defined when the function (in the patch) is autoloaded. How/where do we need to add the above variable definition (defvar)? with best regards, dhruva ________________________________________ Dhruva Krishnamurthy Proud FSF member: #1935 http://schemer.fateback.com/