From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov 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: Tue, 16 Apr 2024 09:33:51 +0300 Organization: LINKOV.NET Message-ID: <86r0f5n8bk.fsf@mail.linkov.net> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23008"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , 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 Tue Apr 16 08:43:21 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 1rwcXH-0005ol-HQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Apr 2024 08:43:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwcWu-0001NM-Fk; Tue, 16 Apr 2024 02:42: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 1rwcWs-0001IH-Oa for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 02:42: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 1rwcWo-0006uM-2B for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 02:42:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwcX0-000406-60 for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 02:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Apr 2024 06:43: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.171324976915315 (code B ref 70136); Tue, 16 Apr 2024 06:43:02 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 16 Apr 2024 06:42:49 +0000 Original-Received: from localhost ([127.0.0.1]:41978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwcWn-0003yx-AQ for submit@debbugs.gnu.org; Tue, 16 Apr 2024 02:42:49 -0400 Original-Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]:41493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwcWS-0003uk-VO for 70136@debbugs.gnu.org; Tue, 16 Apr 2024 02:42:36 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id F345BFF804; Tue, 16 Apr 2024 06:42:07 +0000 (UTC) In-Reply-To: <874jc2y2ky.fsf@gmail.com> (Augusto Stoffel's message of "Mon, 15 Apr 2024 19:10:05 +0200") X-GND-Sasl: juri@linkov.net 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:283408 Archived-At: > On the other hand, imagine this situation: you're working on a project > with very long lines in some files, so you want your grep buffers to > look more compact. Then you type > > M-x add-dir-local-variable RET grep-mode RET truncate-lines RET t RET > > Wouldn't you be very confused that this doesn't work? I agree this would be confusing. IMHO, the problem is more wide and it's that dir-local variables are not supported in non-file buffers by default. Maybe a new option could enable them not only in compilation buffers, but in all non-file buffers? Or such a new option could be a list of non-file modes that should support dir-local variables.