From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How to over-ride locate-dominating-stop-dir-regex
Date: Tue, 22 May 2018 21:47:37 -0400 [thread overview]
Message-ID: <jwvmuwrqh46.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: d562b1a1-f0c8-4aa4-9dc8-6e59ff7a7d9a@googlegroups.com
> 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
next prev parent reply other threads:[~2018-05-23 1:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-19 6:07 How to over-ride locate-domination-stop-dir-regex robjsargent
2018-05-19 8:00 ` Eli Zaretskii
[not found] ` <mailman.72.1526716830.1292.help-gnu-emacs@gnu.org>
2018-05-19 20:58 ` robjsargent
2018-05-21 20:06 ` How to over-ride locate-dominating-stop-dir-regex Rob Sargent
2018-05-22 2:31 ` Eli Zaretskii
2018-05-22 11:54 ` Andy Moreton
2018-05-22 16:43 ` Eli Zaretskii
[not found] ` <mailman.247.1527007430.1292.help-gnu-emacs@gnu.org>
2018-05-23 0:49 ` Rob Sargent
2018-05-23 1:43 ` Stefan Monnier
2018-05-23 1:47 ` Stefan Monnier [this message]
[not found] ` <mailman.297.1527039848.1292.help-gnu-emacs@gnu.org>
2018-05-23 1:49 ` Rob Sargent
[not found] ` <mailman.298.1527040349.1292.help-gnu-emacs@gnu.org>
2018-05-23 2:02 ` Rob Sargent
2018-05-23 19:15 ` Stefan Monnier
[not found] ` <mailman.349.1527102928.1292.help-gnu-emacs@gnu.org>
2018-05-26 4:17 ` Rob Sargent
[not found] ` <mailman.195.1526956269.1292.help-gnu-emacs@gnu.org>
2018-05-22 5:13 ` Rob Sargent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmuwrqh46.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.