From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: testing for a remote file to include file on a Windows mapped drive Date: Mon, 21 Apr 2008 08:28:32 +0100 Message-ID: <480C4220.3030100@gnu.org> References: <87bq781bf7.fsf@gmx.de><000a01c8a314$5fff7630$0200a8c0@us.oracle.com><000d01c8a324$97820590$0200a8c0@us.oracle.com><000f01c8a334$b2a40660$0200a8c0@us.oracle.com> <000101c8a37f$eeb543d0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208762960 6040 80.91.229.12 (21 Apr 2008 07:29:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2008 07:29:20 +0000 (UTC) Cc: 'Michael Albinus' , 'Stefan Monnier' , 'Emacs-Devel' To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 21 09:29:54 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JnqTD-0007Eh-Qu for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 09:29:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnqSY-0006iI-Bt for ged-emacs-devel@m.gmane.org; Mon, 21 Apr 2008 03:29:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnqSU-0006iB-G6 for emacs-devel@gnu.org; Mon, 21 Apr 2008 03:29:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnqSS-0006hz-3E for emacs-devel@gnu.org; Mon, 21 Apr 2008 03:29:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnqSR-0006hw-Td for emacs-devel@gnu.org; Mon, 21 Apr 2008 03:28:59 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JnqSR-00089U-Fy for emacs-devel@gnu.org; Mon, 21 Apr 2008 03:28:59 -0400 Original-Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com ([212.74.114.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JnqSQ-0008Us-Fu for emacs-devel@gnu.org; Mon, 21 Apr 2008 03:28:58 -0400 Original-X-Trace: 11596271/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAJLfC0hTQxds/2dsb2JhbACBUagX X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 21 Apr 2008 08:28:56 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id B16C2B4; Mon, 21 Apr 2008 08:29:23 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <000101c8a37f$eeb543d0$0200a8c0@us.oracle.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95602 Archived-At: Drew Adams wrote: > As you said, the purpose of file-remote-p is to determine, without the cost of a > remote access, whether a file name represents a remote file. The aim in using it > is to be able to know that a file is remote, so you might then avoid the cost of > accessing it. > As mentioned in the earlier thread, remoteness is not a reliable indicator of speed. You can have fast remote drives and slow local drives. Maybe in the days of 10Mbps ethernet it was still reasonable to assume that networked drives were slow, but with gigabit ethernet you'd be hard pressed to notice a performance difference between a networked and local drive.