From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov 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: Sat, 21 Dec 2024 03:32:21 +0200 Message-ID: References: <87zfuc48d5.fsf@gmail.com> <86msqc9dsa.fsf@gnu.org> <874jcjeuac.fsf@gmail.com> <86edbnajfp.fsf@gnu.org> <87mspwcn0f.fsf_-_@gmail.com> <86le4s7n65.fsf@mail.linkov.net> <86jzbuke2j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14654"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 70136@debbugs.gnu.org, arstoffel@gmail.com, monnier@iro.umontreal.ca, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 02:33:32 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 1tOoN1-0003c1-Aj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 02:33:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOoMh-0004tf-1s; Fri, 20 Dec 2024 20:33:11 -0500 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 1tOoMe-0004tA-58 for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 20:33:08 -0500 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 1tOoMZ-0003OC-GX for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 20:33:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=TjIo4gTx1E2gjVh28ad99e73GD9ma2ZDMaBRQ2vFxQw=; b=mNZiyLLRss9YsKE8itTwAmlYlo7lKwYiW2dq9+oLKIzrThT+Y+444NtGK+QCwqQQZVNFhjtTWvML9Gi+v5U43Jl2MKSsDwgvTWc49YYFnC/2xIIvkCPP7lN+bqvU6uLpC1Xbw1TrYp6Jp1th4yxvtjIDrTaJ2fQ/Nt8cWTgYRAcrprvEzpcSfVVxF2Ey3sdu/0v8hC9CRhWSZsshajv8pLO5DUPYn5JVlsXj+zFeRUZZSMW8tWrsy2cFacePhwBdo8m3ZloUz8zbUUP1tckm8K6D2l070v9vOiIHfHGqjoTFu7IFPNDIt6xw8N6ZH5z6lNbkTntSXWeSrzXI3hYKyA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOoMY-0001fO-Bb for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 20:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 01:33:02 +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.17347447556363 (code B ref 70136); Sat, 21 Dec 2024 01:33:02 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 21 Dec 2024 01:32:35 +0000 Original-Received: from localhost ([127.0.0.1]:44666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOoM6-0001eZ-IR for submit@debbugs.gnu.org; Fri, 20 Dec 2024 20:32:34 -0500 Original-Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:56059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOoM4-0001eJ-63 for 70136@debbugs.gnu.org; Fri, 20 Dec 2024 20:32:33 -0500 Original-Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfhigh.phl.internal (Postfix) with ESMTP id 200611140213; Fri, 20 Dec 2024 20:32:27 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Fri, 20 Dec 2024 20:32:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1734744747; x=1734831147; bh=TjIo4gTx1E2gjVh28ad99e73GD9ma2ZDMaBRQ2vFxQw=; b= BfWfHT5H2eicQIdWp4IoIEHSQD3nrPAUbdYOKxPb+Lm2jM+yEbzxqssVJJDLxbp6 BYaQqEBTAVXP0E3XKnrLlUeOePTRJMAVwGrBUOEhUFttUp0WirkoNBMsSmOlfOXZ S1WesksWh7dX4Nq5yEfmvFzrjX0jsV5u7pK4b/E9wlRBnGF9DNIZQlgaQDI94iWW fU8rg3tLyL5dplUb1xlioqPrnIIdd35Be974b0wtIuaJC56BONwwulE7ZveQoSCp TSiOI5nOrrGPXGSUroFB8H3f+6OM2oqJ5i6ZnbYCQEiVwsfLdOkTJzE2XWAC9maG 4his6bV8ZQM4IZK/5JeZ0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734744747; x= 1734831147; bh=TjIo4gTx1E2gjVh28ad99e73GD9ma2ZDMaBRQ2vFxQw=; b=o X1UlApYTDSggm82bhHfc5EN/C2LBdBE2J9f2ZQ3AfErFy2SW23k7DXZs50uGClCW 6BEYYyNcv/zq5IZxnT+ArxhylFmVvWfNnIHfVIe5ibLVZpjH/XXB32vkH3a7l89q lRHH2LUmyPapH+ttmRB/vG3vDKXBiRADELcvOYB0Vu98DQWQO/4Hwa48G8gYQAIv TVAJZou7K/HUfystxP5f1StfTUSB/saklBtLN+lXYZewtK9FWNuirKJwVJV9fogl 94kwystdi/tws8Sx4ROHopZ3KQfPcU4vqT2bTu3cfHEqBPpYpaO8C/RO5NclPgjR +EX3HOID77VmJbDYkSN/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddtfedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh dprhgtphhtthhopehjuhhriheslhhinhhkohhvrdhnvghtpdhrtghpthhtoheprghrshht ohhffhgvlhesghhmrghilhdrtghomhdprhgtphhtthhopeejtddufeeiseguvggssghugh hsrdhgnhhurdhorhhgpdhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhr vggrlhdrtggr X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 Dec 2024 20:32:25 -0500 (EST) Content-Language: en-US In-Reply-To: <86jzbuke2j.fsf@gnu.org> 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:297482 Archived-At: On 20/12/2024 09:29, Eli Zaretskii wrote: >> When we added it to some modes in Emacs 24, the announcement had what >> seems like advice to call this functions in more others (see the >> corresponding NEWS). >> >> The current opt-out options seem sufficient IMHO (the Compilation mode, >> they would also include setting enable-dir-local-variables to nil >> locally in the mode hook). > Sorry, I don't understand what you are saying here. ("Emacs 24"? I > thought we were discussing this for Emacs 30, for which it is now too > late, and Emacs 31?) I mean this in NEWS.24 (the last sentence in particular): *** Directory local variables can apply to some file-less buffers. Affected modes include dired, vc-dir, and log-edit. For example, adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will turn on 'whitespace-mode' for *vc-diff* buffers. Modes should call 'hack-dir-local-variables-non-file-buffer' to support this.