From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5833: 23.1.94; Opening files on network shares on w32 is slow Date: Mon, 05 Apr 2010 20:46:21 -0400 Message-ID: References: <8339zb21w3.fsf@gnu.org> <838w92yt7f.fsf@gnu.org> <4BBA7C66.4090904@f2s.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270515375 29544 80.91.229.12 (6 Apr 2010 00:56:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 00:56:15 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 06 02:56:14 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyx5P-0004VP-21 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 02:56:11 +0200 Original-Received: from localhost ([127.0.0.1]:39682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nyx5O-0001WM-Dl for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Apr 2010 20:56:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nyx5I-0001VR-RE for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:56:04 -0400 Original-Received: from [140.186.70.92] (port=58144 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nyx5H-0001V8-62 for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nyx5F-0001b1-Dr for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:56:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39716) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyx5F-0001ax-Ag for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:56:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NywwX-0003t5-Qw; Mon, 05 Apr 2010 20:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2010 00:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5833 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.127051479414936 (code B ref -1); Tue, 06 Apr 2010 00:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Apr 2010 00:46:34 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyww5-0003sr-OK for submit@debbugs.gnu.org; Mon, 05 Apr 2010 20:46:33 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nyww3-0003sm-Py for submit@debbugs.gnu.org; Mon, 05 Apr 2010 20:46:32 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:40192) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nywvz-0007kT-U6 for submit@debbugs.gnu.org; Mon, 05 Apr 2010 20:46:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nywvz-0007fa-Ah for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:46:27 -0400 Original-Received: from [140.186.70.92] (port=51736 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nywvx-0007ex-KV for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:46:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nywvv-0000pT-S6 for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:46:25 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:8742 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nywvu-0000pC-HH for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2010 20:46:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACYhukvO+K6K/2dsb2JhbACbTHK4V4UHBIsq X-IronPort-AV: E=Sophos;i="4.51,368,1267419600"; d="scan'208";a="60261566" Original-Received: from 206-248-174-138.dsl.teksavvy.com (HELO pastel.home) ([206.248.174.138]) by ironport2-out.pppoe.ca with ESMTP; 05 Apr 2010 20:46:21 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 29E088053; Mon, 5 Apr 2010 20:46:21 -0400 (EDT) In-Reply-To: <4BBA7C66.4090904@f2s.com> (Jason Rumney's message of "Tue, 06 Apr 2010 08:12:22 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 05 Apr 2010 20:47:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35964 Archived-At: >>>> (setq locate-dominating-stop-dir-regexp "") >>> That maybe shaves off half a second. >> Hmm... odd. That seemed like a pretty good guess >> (locate-dominating-file tends to suffer from such performance problems >> in some cases, and vc-handled-backends is one user of this function, >> and dir-locals is another, so setting locate-dominating-stop-dir-regexp >> should really kill it off). > I think it odd that it shaved time off rather than made things much worse. The "" regexp always matches, so it will cause locate-dominating-file to stop at the first occasion. Stefan