[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32520: 26.1; problem with CIFS mounts
From: |
Noam Postavsky |
Subject: |
bug#32520: 26.1; problem with CIFS mounts |
Date: |
Fri, 24 Aug 2018 18:36:43 -0400 |
On 24 August 2018 at 17:20, <emacs@martins.cc> wrote:
> However the warnings for \\<host>\{.bzr,git,.hg,.svn} are
> still there when visiting files.
I think you want to set vc-ignore-dir-regexp (to the same value as
locate-dominating-stop-dir-regexp) for this.
> On a side note
> Why does this, the default setting
> (purecopy
> "\\`\\(?:[\\/][\\/][^\\/]+[\\/]\\|/\\(?:net\\|afs\\|\\.\\.\\.\\)/\\)\\'"))
> escape / as [\\/] for the first case
Backslashes don't escape (at the regexp level) inside square brackets,
[\\/] just matches / or \. If it was written [/\\] it would mean the
same.
Perhaps translating to rx syntax would make it clearer:
(sequence string-start
(or
(sequence
(any "/" "\\")
(any "/" "\\")
(one-or-more
(not
(any "/" "\\")))
(any "/" "\\"))
(sequence "/"
(or "net" "afs" "...")
"/"))
string-end)
bug#32520: 26.1; problem with CIFS mounts, Eli Zaretskii, 2018/08/24