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:16:16 +0300 Message-ID: <86il0ggme7.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19020"; 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 15:17: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 1rx59x-0004fQ-BW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Apr 2024 15:17:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx59k-000509-29; Wed, 17 Apr 2024 09:16:56 -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 1rx59d-0004za-7s for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:16:54 -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 1rx59c-0002Z4-Qe for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:16:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx59p-0000YV-MQ for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2024 09:17: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:17: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.17133598032058 (code B ref 70136); Wed, 17 Apr 2024 13:17:01 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 17 Apr 2024 13:16:43 +0000 Original-Received: from localhost ([127.0.0.1]:46063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx59W-0000X1-FE for submit@debbugs.gnu.org; Wed, 17 Apr 2024 09:16:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx59S-0000Vg-Ve for 70136@debbugs.gnu.org; Wed, 17 Apr 2024 09:16:40 -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 1rx59A-0002Wf-0A; Wed, 17 Apr 2024 09:16:20 -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=udTYOOwsNGQCAfBPd12ZFcbfh3p7i3ZlbvMn0nU8wto=; b=H1Jr4X1zWjd3 iJxCO+UdUavwl6vA6dQw8CB29MPxqX/XgabLwSo2frolKsNQtCVwh90REgIsDtqUa8QLhjOrgnX9y /dEBxhxWYz/jBlM+W5fq/8gQ8W/XuFkHEC+prRNrB1OMHQ21FjgxL/dMmnvw6VOTZAVuITPKKFahL RHNwWv4kSsaIjcnPe2/FiU8/INa2ssS9ty/W11SQDThicYmtK3AJ4cC8Tf3JDJQVGDZYbWTLVc2xe +fJ6wI1tewI4aBBnlbEvutz0cOr37YACGVyMEGOZ5o9KnzTc7ctZMFjkvzp19GNZj1iyiiY4IO3hP kEsopgmFm0juDEscYe5HRA==; In-Reply-To: (message from Stefan Monnier on Wed, 17 Apr 2024 08:59:50 -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:283494 Archived-At: > From: Stefan Monnier > Cc: arstoffel@gmail.com, 70136@debbugs.gnu.org > Date: Wed, 17 Apr 2024 08:59:50 -0400 > > >> 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. So we should risk it again? > >> 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. If you are right, we will be able to make this on by default in Emacs 31 (assuming we introduce the opt-in feature in Emacs 30, that is: no one has yet shown the code, so we are discussing a highly theoretical feature).