From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#993: 23.0.60; vc-find-root heuristic unreliable on Windows with Cygwin Date: Tue, 28 Oct 2008 23:02:14 -0400 Message-ID: References: <87y71qy1fr.fsf@offby1.atm01.sea.blarg.net> Reply-To: Glenn Morris , 993@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225251023 11138 80.91.229.12 (29 Oct 2008 03:30:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2008 03:30:23 +0000 (UTC) Cc: Eric Hanchrow To: 993@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 29 04:31:24 2008 connect(): Connection refused 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.50) id 1Kv1mD-0002X6-Bn for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2008 04:31:21 +0100 Original-Received: from localhost ([127.0.0.1]:33965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kv1l7-0006wd-2G for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Oct 2008 23:30:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kv1l4-0006wY-9E for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2008 23:30:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kv1l3-0006vI-3n for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2008 23:30:09 -0400 Original-Received: from [199.232.76.173] (port=45896 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kv1l2-0006vF-UA for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2008 23:30:08 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44086) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kv1l2-000632-QL for bug-gnu-emacs@gnu.org; Tue, 28 Oct 2008 23:30:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9T3U3RV023280; Tue, 28 Oct 2008 20:30:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9T3F353019675; Tue, 28 Oct 2008 20:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 29 Oct 2008 03:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 993 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 993-submit@emacsbugs.donarmstrong.com id=B993.122524951117789 (code B ref 993); Wed, 29 Oct 2008 03:15:03 +0000 Original-Received: (at 993) by emacsbugs.donarmstrong.com; 29 Oct 2008 03:05:11 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9T354MJ016938 for <993@emacsbugs.donarmstrong.com>; Tue, 28 Oct 2008 20:05:06 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Kv1K2-0000gc-AZ; Tue, 28 Oct 2008 23:02:14 -0400 X-Spook: Albanian embassy Kosovo CID satellite imagery Aldergrove X-Ran: s@x0hFZy?rm_PdrAL~Xykj`r5ER6Mr|*to8m+K?j%V5Zf%a.6%gQM];@YwbP".b;9F4stM X-Hue: green X-Attribution: GM In-Reply-To: (Glenn Morris's message of "Tue, 28 Oct 2008 22:18:27 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 28 Oct 2008 23:30:09 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:21990 Archived-At: Glenn Morris wrote: > Time to customize locate-dominating-stop-dir-regexp I suppose... BTW, it seems you are stopping one directory too late, in that in order to stop Emacs looking up things like "/afs/.hg", I have to an add an element of the form "\\`/afs/[^/]+\\'". In other words, locate-dominating-stop-dir-regexp is the last directory in which you _do_ scan, whereas it might be simpler if it were the first _not_ scanned. I would also suggest adding /home and perhaps /nfs, as well as /afs and /net, to the default. Actually, I don't see why the default stop should not just match "\\`/[^/]+\\'".