GNU bug report logs - #993
23.0.60; vc-find-root heuristic unreliable on Windows with Cygwin

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <offby1 <at> blarg.net>

Date: Wed, 17 Sep 2008 20:20:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 993 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 993 <at> debbugs.gnu.org, Eric Hanchrow <offby1 <at> blarg.net>
Subject: Re: bug#993: 23.0.60; vc-find-root heuristic unreliable on Windows with Cygwin
Date: Wed, 29 Oct 2008 10:49:21 -0400
>> 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/[^/]+\\'".

Looks like a bug, then.

> 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.

That was the intention, and it worked like that at some point.

> 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 "\\`/[^/]+\\'".

/home might be OK.  "\\`/[^/]+\\'" is not, because several people use
revision control for /etc.


        Stefan




This bug report was last modified 16 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.