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: Tue, 16 Apr 2024 15:37:11 +0300 Message-ID: <868r1djxfs.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> <86r0f5n8bk.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30987"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70136@debbugs.gnu.org, arstoffel@gmail.com, monnier@iro.umontreal.ca To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 16 14:38:01 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 1rwi4X-0007rD-1Z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Apr 2024 14:38:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwi4O-0001y2-0B; Tue, 16 Apr 2024 08:37:52 -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 1rwi4L-0001xZ-UA for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 08:37:49 -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 1rwi4L-00039T-Ly for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 08:37:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwi4X-0008JE-Te for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 08:38: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: Tue, 16 Apr 2024 12:38: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.171327105731828 (code B ref 70136); Tue, 16 Apr 2024 12:38:01 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 16 Apr 2024 12:37:37 +0000 Original-Received: from localhost ([127.0.0.1]:43655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwi47-0008H0-2D for submit@debbugs.gnu.org; Tue, 16 Apr 2024 08:37:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwi44-0008Fn-Ao for 70136@debbugs.gnu.org; Tue, 16 Apr 2024 08:37:32 -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 1rwi3l-00033y-HJ; Tue, 16 Apr 2024 08:37:13 -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=+xg4ZRfXPlZQ4sToc6d+VaMlIH0ikYC6olEQXe75eOM=; b=jwrDJBnLAo8i ws7OpLwGUOy8qXpnepWSIjlBdVhtdIdT5QdaZY3Um/z1EZhUtDEjY+9nTdaSQUti6q6C8l7MOivGM h636Yb+i/BZPl3XegR+ttuKDsa1XgDXBZXRRWi0B6CC3fxmANozTb+DIp/TDmcyDcKfX/gLRslmTx 0kMtTGYSLNl+ixd+D3BQ5BxKBnv+wWAIdjQGg/Wcr53v9/6mRkmrEp2i5akGAtNbqr2PxJPBfE2PB yPxLbDKKwCWx/SwlibFOdLGH89sbnOOXtG159zStX90SgjgoURW/bPHicpWEeVh+r7SimVoQdLzkD ARsin2mNS6QTtEiN6Ke8oA==; In-Reply-To: <86r0f5n8bk.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 16 Apr 2024 09:33:51 +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:283421 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , 70136@debbugs.gnu.org, > monnier@iro.umontreal.ca > Date: Tue, 16 Apr 2024 09:33:51 +0300 > > > 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. I'm okay with such opt-in behavior. We can later make it the default if enough people like it and not many complain about it. Thanks.