From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer Date: Wed, 17 Apr 2024 16:03:18 +0300 Message-ID: <86mspsgmzt.fsf@gnu.org> References: <87zfuc48d5.fsf@gmail.com> <86msqc9dsa.fsf@gnu.org> <874jcjeuac.fsf@gmail.com> <86edbnajfp.fsf@gnu.org> <87mspwcn0f.fsf_-_@gmail.com> <86v84kmeh0.fsf@gnu.org> <874jc2y2ky.fsf@gmail.com> <86sezmjxbc.fsf@gnu.org> <86a5lsiuo8.fsf@gnu.org> <87r0f49yq9.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35686"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70136@debbugs.gnu.org, monnier@iro.umontreal.ca To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 17 15:05:03 2024 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 1rx4yD-00090U-QK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Apr 2024 15:05:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx4y6-00011J-AL; Wed, 17 Apr 2024 09:04:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rx4y1-00010h-PB for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:04:49 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rx4y1-00008g-44 for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:04:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx4yD-0007cE-UO for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Apr 2024 13:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70136 X-GNU-PR-Package: emacs Original-Received: via spool by 70136-submit@debbugs.gnu.org id=B70136.171335905428931 (code B ref 70136); Wed, 17 Apr 2024 13:05:01 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 17 Apr 2024 13:04:14 +0000 Original-Received: from localhost ([127.0.0.1]:46045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx4xO-0007W9-GG for submit@debbugs.gnu.org; Wed, 17 Apr 2024 09:04:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx4xI-0007UI-DD for 70136@debbugs.gnu.org; Wed, 17 Apr 2024 09:04:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rx4wy-0008UD-RZ; Wed, 17 Apr 2024 09:03:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=dSWJHu8Jx/Hb0BdZU5GR6+UwKpzFdZfDBGD4Ke2qAAQ=; b=alNrz9/nsFm9 5n/B4jlRMNRrJG6o+zO0Mir6lLWWxcwkIUs0Nq9835ApxJSOkzRLarsLe3VzqTamtrftjpdWnjLtX 9ys2KE6Muy+O0dUOhF3oWGwInTJbLz9ZeXa7Po/sNR2wYHwNIL6GhSUP6bsT/njgkHuyaTktVdyju syMP0ybrCTilqxEwPB2Nma0TySQNoAi9Oxz84GnL9vKt0jymBvz2+gONT8r0VBqza7Sk6L0nvFrjE H5EjsrXTB7a66r6/zQ6HMbQZTWSDqqAegmI8lrckpbU5NbTT5tl/MAtDY+70mBFFyVG9epa0FRO3q SsNW4yq8vWzuJnEzMKki5w==; In-Reply-To: <87r0f49yq9.fsf@gmail.com> (message from Augusto Stoffel on Wed, 17 Apr 2024 10:31:42 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283491 Archived-At: > From: Augusto Stoffel > Cc: Eli Zaretskii , 70136@debbugs.gnu.org > Date: Wed, 17 Apr 2024 10:31:42 +0200 > > On Tue, 16 Apr 2024 at 22:58, Stefan Monnier wrote: > > > And since this var is needed only to avoid breaking backward > > compatibility, it would be desirable to have a plan to get rid of it in > > the longer term. > > I definitely agree with this. Eli's worry is about retaining > compatibility with buggy code (in this case, a hypothetical > .dir-locals.el that doesn't properly map variables to the desired > modes), so the compatibility workarounds, if any at all, should be > transitional. This is not so much about buggy .dir-locals.el, this is about non-buggy .dir-locals.el that have customizations for nil mode -- those customizations might not expect non-file modes to be affected.