[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to over-ride locate-dominating-stop-dir-regex
From: |
Stefan Monnier |
Subject: |
Re: How to over-ride locate-dominating-stop-dir-regex |
Date: |
Tue, 22 May 2018 21:47:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Using edebug-defun I step through locate-dominating-file and the
> string-match test uses my value for stop-dir-regexp, eventually matches it
> after peeling off "bin/segmentGT.awk" and exits the defun. Then emacs
> immediately re-enter the defun and this time the string-match uses the
> built-in value for stop-dir-regexp. This of course will never match
> _anything_ and I hit the three second automount timeouts.
Oh, found it: it's
(defcustom vc-ignore-dir-regexp
;; Stop SMB, automounter, AFS, and DFS host lookups.
locate-dominating-stop-dir-regexp
"Regexp matching directory names that are not under VC's control.
The default regexp prevents fruitless and time-consuming attempts
to determine the VC status in directories in which filenames are
interpreted as hostnames."
:type 'regexp
:group 'vc)
used by VC.
I suggest you report it as a bug: vc-ignore-dir-regexp should only
"extend" locate-dominating-stop-dir-regexp but not override it (at
least by default).
Stefan
- How to over-ride locate-domination-stop-dir-regex, robjsargent, 2018/05/19
- Re: How to over-ride locate-domination-stop-dir-regex, Eli Zaretskii, 2018/05/19
- Message not available
- Re: How to over-ride locate-domination-stop-dir-regex, robjsargent, 2018/05/19
- Re: How to over-ride locate-dominating-stop-dir-regex, Rob Sargent, 2018/05/21
- Re: How to over-ride locate-dominating-stop-dir-regex, Eli Zaretskii, 2018/05/21
- Re: How to over-ride locate-dominating-stop-dir-regex, Andy Moreton, 2018/05/22
- Re: How to over-ride locate-dominating-stop-dir-regex, Eli Zaretskii, 2018/05/22
- Message not available
- Re: How to over-ride locate-dominating-stop-dir-regex, Rob Sargent, 2018/05/22
- Re: How to over-ride locate-dominating-stop-dir-regex, Stefan Monnier, 2018/05/22
- Re: How to over-ride locate-dominating-stop-dir-regex,
Stefan Monnier <=
- Message not available
- Re: How to over-ride locate-dominating-stop-dir-regex, Rob Sargent, 2018/05/22
- Message not available
- Re: How to over-ride locate-dominating-stop-dir-regex, Rob Sargent, 2018/05/22
- Re: How to over-ride locate-dominating-stop-dir-regex, Stefan Monnier, 2018/05/23
- Message not available
- Re: How to over-ride locate-dominating-stop-dir-regex, Rob Sargent, 2018/05/26
- Message not available
- Re: How to over-ride locate-dominating-stop-dir-regex, Rob Sargent, 2018/05/22