From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Slow access to files using UNC path Date: Wed, 01 Sep 2004 14:13:46 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <68c73b1a04083122477869f5a@mail.gmail.com> <1094020967.1821.22.camel@localhost> <68c73b1a040901025051199ef6@mail.gmail.com> <68c73b1a0409010322550c677f@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1094041120 20832 80.91.224.253 (1 Sep 2004 12:18:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2004 12:18:40 +0000 (UTC) Cc: KOBAYASHI Yasuhiro , Stefan Monnier , Andre Spiegel , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 01 14:18:23 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 1C2U4E-0007Q0-00 for ; Wed, 01 Sep 2004 14:18:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2U99-0000ry-6F for ged-emacs-devel@m.gmane.org; Wed, 01 Sep 2004 08:23:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2U8u-0000rl-Sk for emacs-devel@gnu.org; Wed, 01 Sep 2004 08:23:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2U8t-0000oB-2J for emacs-devel@gnu.org; Wed, 01 Sep 2004 08:23:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2U8s-0000nn-Ue for emacs-devel@gnu.org; Wed, 01 Sep 2004 08:23:10 -0400 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C2U3Y-0000M4-CN; Wed, 01 Sep 2004 08:17:40 -0400 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 0FB62B57FA6; Wed, 1 Sep 2004 14:13:48 +0200 (CEST) Original-To: Dhruva Krishnamurthy X-Yow: .. I feel.. JUGULAR.. In-Reply-To: <68c73b1a0409010322550c677f@mail.gmail.com> (Dhruva Krishnamurthy's message of "Wed, 1 Sep 2004 15:52:16 +0530") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) 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:26687 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26687 Dhruva Krishnamurthy writes: > I did some lookup into files.el, there is a function file-remote-p, I > guess we should have a function dir-remote-p. A directory is also a file, so file-remote-p should work also on directories. But file-remote-p does actually test something different, namely if you need a special method to access a file. IIUC an UNC path can be accessed by the normal file operations, so it is not a remote location according to file-remote-p. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."