From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: emacs@martins.cc Newsgroups: gmane.emacs.bugs Subject: bug#32520: 26.1; problem with CIFS mounts Date: Fri, 24 Aug 2018 14:20:23 -0700 Message-ID: <23640.1535145623@monster.martins.cc> References: <2757.1535127885@monster.martins.cc> <17275.1535135726@monster.martins.cc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1535152250 5240 195.159.176.226 (24 Aug 2018 23:10:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2018 23:10:50 +0000 (UTC) Cc: 32520@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 25 01:10:46 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftLDt-0000Tp-RW for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Aug 2018 01:10:33 +0200 Original-Received: from localhost ([::1]:43691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftJW4-0000lT-5z for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2018 17:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftJVx-0000lA-Lp for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftJVu-00064c-A9 for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftJVu-00064G-1u for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ftJVt-0004Ia-Qp for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: emacs@martins.cc Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Aug 2018 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32520 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32520-submit@debbugs.gnu.org id=B32520.153514563616484 (code B ref 32520); Fri, 24 Aug 2018 21:21:01 +0000 Original-Received: (at 32520) by debbugs.gnu.org; 24 Aug 2018 21:20:36 +0000 Original-Received: from localhost ([127.0.0.1]:60032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftJVT-0004Ho-LQ for submit@debbugs.gnu.org; Fri, 24 Aug 2018 17:20:35 -0400 Original-Received: from mail-pl1-f169.google.com ([209.85.214.169]:45801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftJVQ-0004HY-QK for 32520@debbugs.gnu.org; Fri, 24 Aug 2018 17:20:34 -0400 Original-Received: by mail-pl1-f169.google.com with SMTP id j8-v6so1589922pll.12 for <32520@debbugs.gnu.org>; Fri, 24 Aug 2018 14:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martins-cc.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:comments:mime-version :content-id:content-transfer-encoding:date:message-id; bh=CiHiKFai4WiT54IzehieWnk4OehCSQBvcnIvCSlKAyI=; b=sudQY7S/KIKO9fcN2g63bepPTPA1jw0PBDyh4pbWkJLQ+Usb4W18OCfT7nu5KGDKqr sjSQK3u16Wb0SMgmDJPlJ4Ud7TwFB2fB3DCQ7bwOLxHSIfEiEPgYK5ZjScwQl1OqJKDy NTvmbm5fYL17Tl3ISUc4V8gQyaTwjiCPj9k96HWpk/Xhf1NpO6HSd/UYj0KV6YjWCoi6 MQSARAycTIYKLDjo5zzSrkW/MGindcOdCU9QMIosFGQLrjahkmrfB9xgODTPnlw7tsyL kE5HzH9rsLb3gUFEkMlU8GNPvRVK65cyhybwRlFuPAkGOyzoedVLdhqH0n2wsQW83W2G cplw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :comments:mime-version:content-id:content-transfer-encoding:date :message-id; bh=CiHiKFai4WiT54IzehieWnk4OehCSQBvcnIvCSlKAyI=; b=YNV7LJNMnKxBjoH4IKYzfgJsgRGc4eHN+CJNT539B65UXl60W5TJ3gLHsheyNIkiYU qyAhbZlWQxSiIzHsTlPDO+qnr75Rdv+dPqpR9034uEKC40pJ2Gce0fDM34Clqzy2f64B Fp7xX50Yws6j4Yktr56D5BAX+cm4cPRiFm3s92NwiSiBLpLa7zUgXU1dMpYCZY1xnxlv gmxG7FV+6/Iu7F10x0owC00rdEBbIzFx55AM0gNjwHa5FIhdRTeW2xZF5NoI9o2U5TvH /cJeQaONDDxAF7MHXzFNHShXsPmuR9OBPGnY07AUhH3MjS+fVD0uGMkeoP9RHBheAZaI s3eA== X-Gm-Message-State: APzg51DG1pgIDn5bzd9oRJuXHrVNfql5129st6Dnb69fvC7HSmiYDOxS n18xC2GVMKI3gG5IfyLULHIULkkVIHo= X-Google-Smtp-Source: ANB0VdZMz/oUzGOf7STrFU8nUyDn5UvU5vZxMydp8bs9gT9f9cmGyen9bYTyen1ybZWzEtcrTrMmSQ== X-Received: by 2002:a17:902:900c:: with SMTP id a12-v6mr3173498plp.61.1535145626576; Fri, 24 Aug 2018 14:20:26 -0700 (PDT) Original-Received: from monster.martins.cc (c-73-93-166-97.hsd1.ca.comcast.net. [73.93.166.97]) by smtp.gmail.com with ESMTPSA id v6-v6sm14658033pfa.28.2018.08.24.14.20.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Aug 2018 14:20:26 -0700 (PDT) Original-Received: from monster.martins.cc (localhost [IPv6:::1]) by monster.martins.cc (Postfix) with ESMTP id 4B91D610BC; Fri, 24 Aug 2018 14:20:23 -0700 (PDT) In-reply-to: Comments: In-reply-to Glenn Morris message dated "Fri, 24 Aug 2018 16:30:43 -0400." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.1 Content-ID: <23639.1535145623.1@monster.martins.cc> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149734 Archived-At: > 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 \\\{.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|...]/ ? =