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; comint-mode doesn't call hack-dir-local-variables-non-file-buffer Date: Tue, 02 Apr 2024 14:58:45 +0300 Message-ID: <86msqc9dsa.fsf@gnu.org> References: <87zfuc48d5.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20655"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70136@debbugs.gnu.org, spacibba@aol.com To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 02 14:01:07 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 1rrcp8-00053x-Qm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Apr 2024 14:01:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrcoU-00079l-TP; Tue, 02 Apr 2024 08:00:26 -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 1rrcoC-00075t-VQ for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 08:00:12 -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 1rrco3-00030v-HF for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 08:00:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrco6-0005QH-U0 for bug-gnu-emacs@gnu.org; Tue, 02 Apr 2024 08:00:02 -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, 02 Apr 2024 12:00: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.171205914920530 (code B ref 70136); Tue, 02 Apr 2024 12:00:02 +0000 Original-Received: (at 70136) by debbugs.gnu.org; 2 Apr 2024 11:59:09 +0000 Original-Received: from localhost ([127.0.0.1]:52908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrcnC-0005L0-0Q for submit@debbugs.gnu.org; Tue, 02 Apr 2024 07:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrcn7-0005KH-Lq for 70136@debbugs.gnu.org; Tue, 02 Apr 2024 07:59:05 -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 1rrcmx-0002IE-PF; Tue, 02 Apr 2024 07:58:51 -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=2lj/fgCrST/Xu1jVhLyEU+wD8emN4TWFKcEWn3Es4cA=; b=eERG/FFnE7UR bPKeAzgYPCQ4sfHreJnSZb7NlFzoAdAFfHhX7Q//BrF8Bi4j/p8F2bSi4W8iAqVLF7d3Jz4tAC7VM 2g97ETcdzTmI5GCEJdcCYEC7bYEHb2VD9RnFrDudAJrEEVUHGFlsPw2vcKp8Kc3OLyl0zVMIhHuyQ MxGESUdzUc+jCVTJYndSmkK4x6+YqwVeyFuSBIImwtGL0icE5UIy9Hix7+41Yz96XB6SvUF+U53ML BBtp0YvyHevQ0Jn3Zhm+PDO2/yY33+D6BmjidVjgmN2eBGWRad6lsGJxYydgYVzYSLWDcGLIZB51e Q4kvEH7AAGKGvO3qUK1cpg==; In-Reply-To: <87zfuc48d5.fsf@gmail.com> (message from Augusto Stoffel on Tue, 02 Apr 2024 07:54:46 +0200) 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:282506 Archived-At: > Cc: Ergus > From: Augusto Stoffel > Date: Tue, 02 Apr 2024 07:54:46 +0200 > > This would be sometimes useful, and more consistent with other modes like > dired and diff. Is there any reason to not do it? It doesn't sound right to me to do that by default, since comint is used for shell-like interpreters, and those tend to change directories at will. Which means that dir-locals for some random directory doesn't necessarily take such modes into consideration. If you need that for some particular use case, can't you call it from comint-mode-hook or something?