GNU bug report logs -
#32520
26.1; problem with CIFS mounts
Previous Next
Reported by: emacs <at> martins.cc
Date: Fri, 24 Aug 2018 16:26:01 UTC
Severity: minor
Tags: notabug
Found in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> 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|...]/
?
This bug report was last modified 6 years and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.