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: Sun, 28 Feb 2021 14:42:40 +0100 Message-ID: <877dmsnwa7.fsf@gnus.org> References: <87czwllih4.fsf@sebyte.me> <87a6rpiov9.fsf@gnus.org> <87pn0le90s.fsf@sebyte.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2513"; 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 Mon Mar 01 13:17:20 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 1lGhUG-0000Wc-7Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Mar 2021 13:17:20 +0100 Original-Received: from localhost ([::1]:44876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGhUF-00081q-1x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Mar 2021 07:17:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGhTy-00081Z-C1 for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2021 07:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGhTy-0004Go-4f for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2021 07:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGhTy-0001kD-0a for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2021 07:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Mar 2021 12:17: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.16146010026675 (code B ref 46813); Mon, 01 Mar 2021 12:17:01 +0000 Original-Received: (at 46813) by debbugs.gnu.org; 1 Mar 2021 12:16:42 +0000 Original-Received: from localhost ([127.0.0.1]:48312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGhTd-0001jb-Vv for submit@debbugs.gnu.org; Mon, 01 Mar 2021 07:16:42 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:41486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGhTb-0001jL-8o for 46813@debbugs.gnu.org; Mon, 01 Mar 2021 07:16:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Resent-Message-ID:Resent-Date:Resent-From: Resent-To:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Sender:Resent-Cc:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dhUelEAeYfT3JLjIsPbaAZv4/rUATS05iHnpUPxEPHA=; b=miP79EBGEPhzh7Io+DwuU9YwMg vSOTNNkMtA4CtXmq9wCiGLO53hhRroa+skSh3qLDnE4KVMROTQZ1On8Z6XQWN7gSOG69DOv0Qlxaj /whZGFFv0xlDiOGOMFSLJHr9zDP+q26YjE69iZwuQ4cc52nkySEzd3zoxU7wqMgkI1Ns=; 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 1lGhTS-0001dw-Cl for 46813@debbugs.gnu.org; Mon, 01 Mar 2021 13:16:32 +0100 Resent-X-Now-Playing: Siouxsie and the Banshees's _Join Hands_: "The Lords Prayer" Resent-To: 46813@debbugs.gnu.org Resent-From: Lars Ingebrigtsen Resent-Date: Mon, 01 Mar 2021 13:16:29 +0100 Resent-Message-ID: <87czwjax2a.fsf@gnus.org> X-From-Line: nobody Sun Feb 28 14:42:53 2021 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUeIj0hKkskQXso XbI+ifD////np9/gAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UCHA0QMmCfS1QAAAGKSURBVDjLtZTb ccQgDEVNKkCkgUVKA5aoINB/TblCrNeb2J9hxo/RsV4X4W27Xmn735W2fGElosuvKZc3kChvbqDK FYGOUKlwrWCF2ZjOgMW4UmIzPLczMBACNtbqba9EBAtsuDRAWiCJtQYzLlHPng6PzgI0FK6/QWlj fLOwPlxZWl18ohgZQyuyPOgECrIagDZTygegzK3DPoYNfHEAIrbmZr91BM1PnWAP27wpU5DiDcNm RDI6kkC2EBB2NDiQ9RMOaKSsDCLKqHXPVEbfxXZ+Ao1aKTlW0RAeNUEIlNsrWR8ItQOkKIobgnf4 eQ1a13Z6dgdt9jGMvcMUdU3LiFZsdh6dUJQJoNb0PCXeSRXE4/p1Bh8CTbEno9eCHXzNYcF+U5Gp k4S6sVAme2k+ET4tT9mTT40LyXNOXjMKoDY7BlYulF+556pUPCifwCQ1QTZhrgdYc+h6YqrpBDA8 wo/5Wkp40Np09hmP9zhSa3zqK+H7afx78G5/AHcgXRzdHLGvHege5FuPHyYhWFI2ZVb3AAAAJXRF WHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTI4VDEzOjE2OjUwKzAwOjAwbJonEAAAACV0RVh0ZGF0ZTpt b2RpZnkAMjAyMS0wMi0yOFQxMzoxNjo1MCswMDowMB3Hn6wAAAAASUVORK5CYII= X-Now-Playing: Orbital's _Blue Album_: "One Perfect Sunrise" In-Reply-To: <87pn0le90s.fsf@sebyte.me> (Sebastian Tennant's message of "Sat, 27 Feb 2021 17:05:23 +0000") Original-Lines: 28 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:201070 Archived-At: Sebastian Tennant writes: >> 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. Thanks for checking. > Any tips on how to backport the fix to emacs-27? There were a whole bunch of different bugs in the .dir-locals.el code. The relevant commits are 8f0a2c84, 75f6b264 and possibly 117d58ace. I think backporting the first two might be possible (they're tiny), but I don't think this is actually a regression in Emacs 27 -- this stuff didn't work in Emacs 26 either, if I remember correctly. So I think backporting to Emacs 27 would be out of scope, since we're only fixing regressions (and really serious bugs) in Emacs 27 at this time. But since the first two commits are really small and "obviously correct" (ahem), perhaps it's a good idea to do so anyway. I have no opinion here, perhaps Eli has one? (Added to the CCs.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no