From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) Date: Mon, 13 Jul 2009 21:56:25 +0300 Message-ID: <831voks97q.fsf@gnu.org> References: <7dbe73ed0907051401o26903ca3t9a67060f3a3417ad@mail.gmail.com> <83fxda1pef.fsf@gnu.org> <7dbe73ed0907060038w53699f77ie742996955ae8118@mail.gmail.com> <838wj11sz4.fsf@gnu.org> <83my7fz09s.fsf@gnu.org> <7dbe73ed0907081347q12dfd1a2lbbff915c49362f75@mail.gmail.com> <4A55D68D.8050407@gnu.org> <7dbe73ed0907090453s3e125b4ar142b90a268b105e2@mail.gmail.com> <7DAFC004A33C486A9E29A59689E7F02E@us.oracle.com> <4A5619F5.8010008@gnu.org> <8363e1zoak.fsf@gnu.org> <83hbxjrmue.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247511414 4795 80.91.229.12 (13 Jul 2009 18:56:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 18:56:54 +0000 (UTC) Cc: emacs-devel@gnu.org, jasonr@gnu.org, drew.adams@oracle.com, mathias.dahl@gmail.com To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 13 20:56:46 2009 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 1MQQha-0006rT-RQ for ged-emacs-devel@m.gmane.org; Mon, 13 Jul 2009 20:56:39 +0200 Original-Received: from localhost ([127.0.0.1]:48665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQQha-0003nc-AZ for ged-emacs-devel@m.gmane.org; Mon, 13 Jul 2009 14:56:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQQhV-0003nF-7H for emacs-devel@gnu.org; Mon, 13 Jul 2009 14:56:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQQhU-0003lq-3I for emacs-devel@gnu.org; Mon, 13 Jul 2009 14:56:32 -0400 Original-Received: from [199.232.76.173] (port=58448 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQQhT-0003ln-Vf for emacs-devel@gnu.org; Mon, 13 Jul 2009 14:56:32 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:20261 helo=mtaout3.012.net.il) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQQhQ-0006EV-2d; Mon, 13 Jul 2009 14:56:28 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KMQ00H00HQEO100@i_mtaout3.012.net.il>; Mon, 13 Jul 2009 21:56:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.66.189]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KMQ00CPHHY1S4O0@i_mtaout3.012.net.il>; Mon, 13 Jul 2009 21:56:26 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:112422 Archived-At: > From: Stefan Monnier > Cc: mathias.dahl@gmail.com, emacs-devel@gnu.org, drew.adams@oracle.com, jasonr@gnu.org > Date: Mon, 13 Jul 2009 08:17:08 -0400 > > > Already done by today's commits to the trunk. The function is called > > is_slow_fs, and returns non-zero if its argument resides on a > > filesystem deemed slow. > > I'm not sure this is what you want for file-remote-p. Perhaps you > > only want files on remote (a.k.a. networked) filesystems. There's > > I'm not sure I understand the difference. Could you give an example of > a filesystem that's slow but not "remote (a.k.a. networked)"? The code in is_slow_fs considers only fixed disks and RAM disks not ``slow''. Other types, which include CDs and removable media such as USB memory sticks, are considered ``slow''. > PS: the criterion for file-remote-p is (C-h f file-remote-p): > "...A file is considered "remote" if accessing it is likely to be slower or > less reliable than accessing local files..." Right, but I remember a prolonged discussion about that which IIRC ended in controversy. That's why I asked.