From: Noam Postavsky <npostavs@gmail.com>
To: emacs@martins.cc
Cc: 32520@debbugs.gnu.org
Subject: bug#32520: 26.1; problem with CIFS mounts
Date: Fri, 24 Aug 2018 18:36:43 -0400 [thread overview]
Message-ID: <CAM-tV-8K+y3J0pcY5RuXpERvmjpda7Yp25iRNpj-AfQKR1Y9xA@mail.gmail.com> (raw)
In-Reply-To: <23640.1535145623@monster.martins.cc>
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)
next prev parent reply other threads:[~2018-08-24 22:36 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
2018-08-24 22:36 ` Noam Postavsky [this message]
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=CAM-tV-8K+y3J0pcY5RuXpERvmjpda7Yp25iRNpj-AfQKR1Y9xA@mail.gmail.com \
--to=npostavs@gmail.com \
--cc=32520@debbugs.gnu.org \
--cc=emacs@martins.cc \
/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).