all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: robjsargent@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: How to over-ride locate-domination-stop-dir-regex
Date: Sat, 19 May 2018 13:58:37 -0700 (PDT)	[thread overview]
Message-ID: <81c293f5-9ff4-468f-892c-6c07d2c26831@googlegroups.com> (raw)
In-Reply-To: <mailman.72.1526716830.1292.help-gnu-emacs@gnu.org>

Yes, agreed: setting/overriding locate-DOMINATING-stop-dir-regex is the issue (cursed auto-completion in the subject line aside)
I have set it in my .emacs using both 
;; I’m at a place where copy-paste doesn’t work so these are unreliable
 (custom-set-variables  ‘(locate-dominating-stop-dir-regex (purecopy “\\`/uufs/chpc.utah.edu/home/camp-group1/\\’”))
; using the above a restart of emacs, C-h v says the value of stop-dir-regex is as I set it
;; or
(defvar locate-dominating-stop-dir-regex “\\`/uufs/chpc.utah.edu/home/camp-group1/\\’”)
; but here in a restart of emacs C-h v does not have stop-dir-regex as my custom value (it’s the default value)

and neither of those stops locate-dominating-file from looking for files in /uufs/chpc.utah.edu/home/ directly.  From strace I have seen a three second delay for each of the 7 various dominating file checks (.svn .git .bzr et al).  From elp I have stepped through locate-dominating-file and had a success returned from the string-match on my regex vs the tested directory name and then the next call to locate-dominating-file uses the built in value (from files.elc)  not mine (from .emacs) and does not stop the directory search, hence it crosses the automount divide and takes 3 seconds. 

I hope I’ve addressed your questions.  I’m desparate to get this resolved.


  parent reply	other threads:[~2018-05-19 20:58 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 [this message]
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
     [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=81c293f5-9ff4-468f-892c-6c07d2c26831@googlegroups.com \
    --to=robjsargent@gmail.com \
    --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.