From: emacs@martins.cc
To: Glenn Morris <rgm@gnu.org>
Cc: 32520@debbugs.gnu.org
Subject: bug#32520: 26.1; problem with CIFS mounts
Date: Fri, 24 Aug 2018 14:20:23 -0700 [thread overview]
Message-ID: <23640.1535145623@monster.martins.cc> (raw)
In-Reply-To: <nlin3zh5ho.fsf@fencepost.gnu.org>
> Maybe you need "\\`/cif/[^/]+/[^/]+/\\'" or some other
> variant. I think that is the right variable, but you may
> need to experiment to find the correct setting.
That variable is defined in files.el as (minus the doc string):
(defvar locate-dominating-stop-dir-regexp
(purecopy "\\`\\(?:[\\/][\\/][^\\/]+[\\/]\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'"))
I added this to my init, and executed:
(setq locate-dominating-stop-dir-regexp
(purecopy "\\`\\(?:[\\/][\\/][^\\/]+[\\/]\\|[\\/]smb[\\/][^\\/]+[\\/][^\\/]+[\\/]\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'"))
Now the warnings about .dir-locals-2.el and .dir-locals.el
no longer show. These used to show when visiting
directories.
However the warnings for \\<host>\{.bzr,git,.hg,.svn} are
still there when visiting files. These seem to be
referenced in a few files, but because I've seen _MTN a
couple of times it may come from one of these
vc/vc-hooks.el.gz
vc/add-log.el.gz
Not sure yet how to shut those up.
-- Henrique
------------------------------------------------------------
On a side note
Why does this, the default setting
(purecopy "\\`\\(?:[\\/][\\/][^\\/]+[\\/]\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'"))
escape / as [\\/] for the first case
//[^/]+/
but not for the second
/[net|afs|...]/
?
next prev parent reply other threads:[~2018-08-24 21:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-24 16:24 bug#32520: 26.1; problem with CIFS mounts emacs
2018-08-24 18:06 ` Glenn Morris
2018-08-24 18:35 ` emacs
2018-08-24 20:30 ` Glenn Morris
2018-08-24 21:20 ` emacs [this message]
2018-08-24 22:36 ` Noam Postavsky
2018-08-24 22:53 ` emacs
2018-08-24 19:31 ` Eli Zaretskii
2018-08-24 20:25 ` emacs
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23640.1535145623@monster.martins.cc \
--to=emacs@martins.cc \
--cc=32520@debbugs.gnu.org \
--cc=rgm@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).