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: Wed, 1 Sep 2004 15:52:16 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <68c73b1a0409010322550c677f@mail.gmail.com> References: <68c73b1a04083122477869f5a@mail.gmail.com> <1094020967.1821.22.camel@localhost> <68c73b1a040901025051199ef6@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 1094034190 3141 80.91.224.253 (1 Sep 2004 10:23:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2004 10:23:10 +0000 (UTC) Cc: KOBAYASHI Yasuhiro , Stefan Monnier , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 01 12:23:02 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 1C2SGb-0007TS-00 for ; Wed, 01 Sep 2004 12:23:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2SLV-0005dq-Ne for ged-emacs-devel@m.gmane.org; Wed, 01 Sep 2004 06:28:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2SLE-0005cL-9C for emacs-devel@gnu.org; Wed, 01 Sep 2004 06:27:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2SLD-0005bZ-0I for emacs-devel@gnu.org; Wed, 01 Sep 2004 06:27:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2SLC-0005au-Pm for emacs-devel@gnu.org; Wed, 01 Sep 2004 06:27:46 -0400 Original-Received: from [64.233.170.204] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2SFx-0000DG-9X for emacs-devel@gnu.org; Wed, 01 Sep 2004 06:22:21 -0400 Original-Received: by mproxy.gmail.com with SMTP id 76so293692rnk for ; Wed, 01 Sep 2004 03:22:17 -0700 (PDT) Original-Received: by 10.38.162.63 with SMTP id k63mr1924434rne; Wed, 01 Sep 2004 03:22:16 -0700 (PDT) Original-Received: by 10.38.102.29 with HTTP; Wed, 1 Sep 2004 03:22:16 -0700 (PDT) Original-To: Andre Spiegel In-Reply-To: <68c73b1a040901025051199ef6@mail.gmail.com> 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:26686 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26686 On Wed, 1 Sep 2004 15:20:03 +0530, Dhruva Krishnamurthy > > > 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? > > I agree with you here. This variable could be in a more generic > location with a different name too. Ex: remote-folder-regex or > something like that and this should be defcustom. The default can be > the one in the patch. > > I did some lookup into files.el, there is a function file-remote-p, I guess we should have a function dir-remote-p. This function can do a string-match with the regular expression (defcustom) if present or use the same logic used in file-remote-p (modify to check directory instead of file). IMHO, this is a clean solution along the lines of existing code. with best regards, dhruva -- ________________________________________ Dhruva Krishnamurthy Proud FSF member: #1935 http://schemer.fateback.com/