GNU bug report logs - #32520
26.1; problem with CIFS mounts

Previous Next

Package: emacs;

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


Message #26 received at 32520 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: emacs <at> martins.cc
Cc: Glenn Morris <rgm <at> gnu.org>, 32520 <at> debbugs.gnu.org
Subject: Re: 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 <at> 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)




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.