From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 08:59:50 -0400 Message-ID: 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> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14517"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 70136@debbugs.gnu.org, arstoffel@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 17 15:01:39 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 1rx4uw-0003bd-SI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Apr 2024 15:01:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx4uN-0000C7-EB; Wed, 17 Apr 2024 09:01:04 -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 1rx4uB-0000AG-Nf for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:00:57 -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 1rx4uB-00085Z-Dl for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:00:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx4uO-00073L-4d for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:01:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Apr 2024 13:01:03 +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.171335881826657 (code B ref 70136); Wed, 17 Apr 2024 13:01:03 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 17 Apr 2024 13:00:18 +0000 Original-Received: from localhost ([127.0.0.1]:46035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx4td-0006vs-U2 for submit@debbugs.gnu.org; Wed, 17 Apr 2024 09:00:18 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx4tY-0006uG-CY for 70136@debbugs.gnu.org; Wed, 17 Apr 2024 09:00:15 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 442B24413B2; Wed, 17 Apr 2024 08:59:53 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1713358791; bh=/yFsa9t9q9D/hly42ipfVUz19QNnK04jyX1/Skc+Fcc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XHjKWHqvWfj9Om3yzVtUI0aC7eZXfF491g8XtGOQ7ffaddesbYfJ6s75ngjEOnBvt 0z3wPJAUfrvHumpxTuCD5k2U+1B7wNgjkdJIKH+u9v6SxCflwcLhEUtgQPeMcFxjj/ a5NfWJo4Dhm7SYloABrHMlIx76X0TOFMBbltSAFWsRAumokQ/UK6NBE1m33TiArSiv /O8Ljisaa9XAA7BN7xZzaNTAOoznrOYe/znjIftVrzlkFAbHpiTOoMTB2zz8vBmwzx 4A5tW+JLkoJxu7R1U+sCwt0U0ZZEvFcqfyb2rzfgN8R01TUCg8C7DQnbbKP/FMC+IN fc8Uuvsit5+DA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D9CA5441606; Wed, 17 Apr 2024 08:59:51 -0400 (EDT) Original-Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B4329120831; Wed, 17 Apr 2024 08:59:51 -0400 (EDT) In-Reply-To: <86wmowgo98.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 17 Apr 2024 15:36:03 +0300") 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:283489 Archived-At: >> Also, I'm not seeing why "That's not the same". > > Because introducing a new feature is qualitatively different: it can > have no backward-compatibility problems, since no one can possibly > have existing customizations for it. 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. >> Should we add a message like >> "ignoring dir-locals. See obey-dir-local-variables-in-all-non-file-buffers"? > The time for April 1 jokes has come and passed this year, no? ;-) I'm quite serious. From where I stand, I think most users would want to enable this feature in they have a situation where it affects the behavior of Emacs. Stefan