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 21:18:47 +0300 Message-ID: <8634rjhmyg.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> <86wmowgo98.fsf@gnu.org> <86il0ggme7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11918"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70136@debbugs.gnu.org, arstoffel@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 17 20:20:10 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 1rx9tC-0002rw-39 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Apr 2024 20:20:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx9st-0005o1-NF; Wed, 17 Apr 2024 14:19:51 -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 1rx9ss-0005nP-1h for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 14:19:50 -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 1rx9sq-00015J-Tp for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 14:19:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx9t3-0002u2-JN for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 14:20: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 18:20: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.171337795210810 (code B ref 70136); Wed, 17 Apr 2024 18:20:01 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 17 Apr 2024 18:19:12 +0000 Original-Received: from localhost ([127.0.0.1]:47341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx9sF-0002oI-RN for submit@debbugs.gnu.org; Wed, 17 Apr 2024 14:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx9sC-0002na-TE for 70136@debbugs.gnu.org; Wed, 17 Apr 2024 14:19:10 -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 1rx9ru-0000qo-Hy; Wed, 17 Apr 2024 14:18:50 -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=imRqwOuxtbsLbiLARodqNCKrN5Oi6XVVPwy8873RKx4=; b=FfIQziWzY1Ps PcF1O21vGvlPsyhGt016bBvqJClrc+5Mhi1dUrKgXofk5ugMgH7/GP/8acMQpgcZ46Las+PZRc6Y3 M7YuDNejjXJmThy8YJOvuak1RL2O7VkK8j34F3pZcO8ufKCtAHJnO5uM6nQUc4pMcNEm6igyc28fO qeApgH4d2OZN9IAvfOez+TAbgA7/uHUJRFSP7Wqn/0vK4k4rzGscSu9wy70x4HbwFIABYxSjozdcD pm85Q07QhH38M5/xA65OFTAvHWXwhatnsDQDa8Onhblnk68xwidyYvQdclFtRusQ+PpACRO0NeGMF m2JABN9AZmJwibJvEZ+Gwg==; In-Reply-To: (message from Stefan Monnier on Wed, 17 Apr 2024 13:55:55 -0400) 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:283513 Archived-At: > From: Stefan Monnier > Cc: arstoffel@gmail.com, 70136@debbugs.gnu.org > Date: Wed, 17 Apr 2024 13:55:55 -0400 > > >> That commit I referred to had AFAICT the same effect as the one > >> discussed here: it made some modes (diff-mode, log-edit-mode, and a few > >> more) obey dir-locals whereas they didn't before. > >> And dir-locals existed since several years before that. > >> > >> Why would it be more likely for them to have .dir-locals which > >> accidentally affect grep-mode than diff-mode/log-edit-mode/...? > >> > >> AFAICT it risked the exact same backward compatibility problems. > > > > So we should risk it again? > > Well, that risk paid off because by all accounts it seems that noone > suffered (and some people benefited), so that argues in favor of taking > that risk again. That's not the kind of risk management and mitigation that I'm used to. It's like saying "crossing that junction on red light went well and paid off, so let's risk that again on this next junction".