From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andre Spiegel Newsgroups: gmane.emacs.devel Subject: Re: Slow access to files using UNC path Date: Wed, 01 Sep 2004 08:42:47 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <1094020967.1821.22.camel@localhost> References: <68c73b1a04083122477869f5a@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094021138 5849 80.91.224.253 (1 Sep 2004 06:45:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2004 06:45:38 +0000 (UTC) Cc: Dhruva Krishnamurthy , Stefan Monnier , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 01 08:45:27 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 1C2Os2-00021l-00 for ; Wed, 01 Sep 2004 08:45:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2Oww-0006hC-Sf for ged-emacs-devel@m.gmane.org; Wed, 01 Sep 2004 02:50:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2Owl-0006gk-Ly for emacs-devel@gnu.org; Wed, 01 Sep 2004 02:50:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2Owj-0006fV-Ga for emacs-devel@gnu.org; Wed, 01 Sep 2004 02:50:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2Owj-0006fE-Df for emacs-devel@gnu.org; Wed, 01 Sep 2004 02:50:17 -0400 Original-Received: from [193.113.160.14] (helo=mail.o2.co.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2Ork-0007SH-Jb for emacs-devel@gnu.org; Wed, 01 Sep 2004 02:45:08 -0400 Original-Received: from [217.231.152.221] (217.231.152.221) by mail.o2.co.uk (7.0.028) (authenticated as andre.spiegel@o2online.de) id 410C8DE60057126C; Wed, 1 Sep 2004 07:40:48 +0100 Original-To: KOBAYASHI Yasuhiro In-Reply-To: X-Mailer: Ximian Evolution 1.4.6 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:26681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26681 On Wed, 2004-09-01 at 08:31, KOBAYASHI Yasuhiro wrote: > What about the following patch: > *** c:/home/kobayays/src/emacs/lisp/vc.el~ Wed Sep 1 15:16:40 2004 > --- c:/home/kobayays/src/emacs/lisp/vc.el Wed Sep 1 15:05:08 2004 > *************** > *** 644,649 **** > --- 644,652 ---- > :type '(repeat number) > :group 'vc) > > + ;;;###autoload > + (defvar vc-hostname-fs-path-re "\\`\\([\\/][\\/]\\|/net/\\|/afs/\\)\\'") > + > ;; vc-annotate functionality (CVS only). > (defvar vc-annotate-mode nil > "Variable indicating if VC-Annotate mode is active.") That doesn't look right. If you want to ensure every backend sees the variable when needed, place it into vc-hooks.el (this is the always-loaded portion of VC). It needs to have a good doc string though. Not having followed the discussion until now, I have hardly any idea what the variable is supposed to do. The doc string suggested in an earlier patch: "Regular expression to identify remote folders" isn't much help either. ("Folder" is not an Emacs term, to begin with.) Please clarify. Also, if this is a general mechanism to identify directories on remote hosts, I wonder if only VC is concerned with it. Perhaps the regexp needs to go to a different place altogether?