From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.bugs Subject: bug#46813: 27.0.91; Form `(subdirs . nil)' in .dir-locals.el does not protect subdirectories Date: Sat, 27 Feb 2021 17:05:23 +0000 Message-ID: <87pn0le90s.fsf@sebyte.me> References: <87czwllih4.fsf@sebyte.me> <87a6rpiov9.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30496"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.91 (gnu/linux) Cc: 46813@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 27 18:06:51 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lG33L-0007qi-PB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 18:06:51 +0100 Original-Received: from localhost ([::1]:45782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG33K-0002dc-SU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 12:06:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG32Z-0002d7-9D for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 12:06:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lG32Z-0000wL-0w for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 12:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lG32Y-0001h7-R9 for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 12:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Tennant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2021 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46813 X-GNU-PR-Package: emacs Original-Received: via spool by 46813-submit@debbugs.gnu.org id=B46813.16144455336450 (code B ref 46813); Sat, 27 Feb 2021 17:06:02 +0000 Original-Received: (at 46813) by debbugs.gnu.org; 27 Feb 2021 17:05:33 +0000 Original-Received: from localhost ([127.0.0.1]:45250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG325-0001fy-0j for submit@debbugs.gnu.org; Sat, 27 Feb 2021 12:05:33 -0500 Original-Received: from forward4-smtp.messagingengine.com ([66.111.4.238]:39565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG323-0001fm-HD for 46813@debbugs.gnu.org; Sat, 27 Feb 2021 12:05:32 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailforward.nyi.internal (Postfix) with ESMTP id 4EB8E1940E71; Sat, 27 Feb 2021 12:05:26 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 27 Feb 2021 12:05:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=+BfAPIb2Db0viVqZm/YdzMfudbuK8ZCUa9Zo4FQTz gk=; b=kvnghzcwCTOgrMz+iWosqSevylHwrTWaKcApRPQqbitWklDCYyrYKl9pM tpiNUrZMg6OVbAtp0BEJruHOUMOT+l+pnTcZwC7zFhZQWnQTcoWjKUCpBnNpOFUx boy479n/8hKl/sfya2vVq0/WS5q+Mrt/SjJHykfzrOmVbbwpNSlwhb3f55DYvxXJ v83FhmewQGkkbKYjkhH0VAOf3JCQCbXjB5oH9lEIvXLW/iomGc127GFP/+OIncYt A7hofJym2V6b8EAzKthuU4JsluJotB5IzG8q4+Od1DKUzp6KVKTWI7ef5ox/FPOl ECeqlGjDORvXmencMtueTGUYReNgw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrleefgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefuvggsrghs thhirghnucfvvghnnhgrnhhtuceoshguthesshgvsgihthgvrdhmvgeqnecuggftrfgrth htvghrnhepuedtjeegjeektdduffehgfevueetvedvkeekhfdvjefgtefhhffghfeuffdu hfefnecukfhppeelfedrleefrdduvdekrddvgeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepshgvsgihthgvodhrvghtuhhrnhdqphgrthhh sehfrghsthhmrghilhdrtghomh X-ME-Proxy: Original-Received: from balor (balor.gnukahvesi.net [93.93.128.246]) by mail.messagingengine.com (Postfix) with ESMTPA id CC66B1080066; Sat, 27 Feb 2021 12:05:25 -0500 (EST) Original-Received: from sebyte by balor with local (Exim 4.92) (envelope-from ) id 1lG31w-0005aW-IO; Sat, 27 Feb 2021 17:05:24 +0000 In-Reply-To: <87a6rpiov9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 27 Feb 2021 15:09:30 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200961 Archived-At: Quoth Lars Ingebrigtsen on Sat, 27 Feb 2021 15:09:30 +0100: > Sebastian Tennant writes: > >> According to the sexp written to file tmp/.dir-locals.el in 4, variable >> `foo' should only be bound to `bar' in files under tmp/. However, when >> file tmp/sub/baz is visited in 6, the local variables list includes the >> binding 'foo : bar', deemed to be risky. >> >> The relevant section of (info "(emacs) Directory Variables") reads: >> >> "The special =E2=80=98subdirs=E2=80=99 element is not a variable, but a= special keyword >> which indicates that the [...] settings are only to be applied in the >> current directory, not in any subdirectories." >> >> Bug, documentation bug or thinko? > > There's been quite a few fixed in the .dir-locals.el code in the > development branch over the past few months. Would it be possible for > you to check "master" and see whether the problem still exists there? It's fixed on master. Any tips on how to backport the fix to emacs-27?