From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 15:09:30 +0100 Message-ID: <87a6rpiov9.fsf@gnus.org> References: <87czwllih4.fsf@sebyte.me> 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="39808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46813@debbugs.gnu.org To: Sebastian Tennant Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 27 15:10:11 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 1lG0IM-000AF6-Pt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 15:10:10 +0100 Original-Received: from localhost ([::1]:41298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG0IL-0002Fy-Sk for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 09:10:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lG0IE-0002EZ-9q for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 09:10:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lG0IE-0006aK-2Z for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 09:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lG0ID-0001EE-TD for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2021 09:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2021 14:10:01 +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.16144349834689 (code B ref 46813); Sat, 27 Feb 2021 14:10:01 +0000 Original-Received: (at 46813) by debbugs.gnu.org; 27 Feb 2021 14:09:43 +0000 Original-Received: from localhost ([127.0.0.1]:43452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG0Hv-0001DZ-9I for submit@debbugs.gnu.org; Sat, 27 Feb 2021 09:09:43 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:47828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG0Hs-0001DJ-Vt for 46813@debbugs.gnu.org; Sat, 27 Feb 2021 09:09:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=iOxsTF3UoUeNes0JM522dBl9djxcw3ZOsQVrZ2usPBE=; b=rx6KxTxaJ3PUpwDxRN9FKcxpQt xJhYm743UV6Z1bVLFyEwip14v4RL7JqwT4gTdXq/MWyEi60hohQkC6gdbbBVUmY+7v7tEFUmrqLKz yYYvTdtMo6BcKsViR5a/SGvXFGZYL+Ot9wxmO8tF10FdA/FOGrXUgrH8HhaU74IDqTMs=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lG0Hk-0006oi-4X; Sat, 27 Feb 2021 15:09:34 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX7+/vU09mZl6gw L1MyM1tMR2OuZ1RDkuD///9Q5OlWAAAAAWJLR0QIht6VegAAAAd0SU1FB+UCGw0qCB7tdCYAAAGe SURBVDjLndTBcoIwEABQcMa7pNKzBJieSwK9tibUayGsXlut+YDOOPx+NwGUIJd2Z8wQnrsbRxbP +3sQOhMbhJjNxKsByVgJXTRmUUzKjx64FFLKbsUtEwNMYwDu3M3xY0FgKS5uECjRwbvWqq9g15Vi VzjbYjy1UA49DPQZ4DRHsMKz+B70Cc/2HDYOCA0WRJ0R7kAhCn1iNSMrF0rBC+wCebDeKHtiLoce p73Wx8wHEk9As1wEn4SuE1tL3gDOe7rY+Ko77wi0/qIJCVOuv5l04UggLGuJyXjfgQRiyAWYk7ul 4iyOavWIvxaEkxFFsKXrvd24PUjD6bKwm2YEtEqAszS/g4BuqcojjpdPP8rCm+f7tK3TqEJQhxZj ALy8ZCwjwCq2s/DaQYo7gMyv1LZsxxlegik1+Fmcty4ssXJZL3kDUzC7/EHu2h76Ht7C7C7918cZ i13rxBU8BeOEERCC/7SpBhPwfNU/8HwCKGachBQvE8ABslMm2WECoZk/wTEG2PazreQwDKCGUbtF 9/Bex3n2BRDMxeof755fazH0fhKzwasAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDItMjdUMTM6 NDI6MDgrMDA6MDDhwwwRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAyLTI3VDEzOjQyOjA4KzAw OjAwkJ60rQAAAABJRU5ErkJggg== X-Now-Playing: Move D & Pete Namlook's _Reissued 001_: "Stranger" In-Reply-To: <87czwllih4.fsf@sebyte.me> (Sebastian Tennant's message of "Sat, 27 Feb 2021 13:59:19 +0000") 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:200949 Archived-At: 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? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no