[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70136: 30.0.50; comint-mode doesn't call hack-dir-local-variables-no
From: |
Augusto Stoffel |
Subject: |
bug#70136: 30.0.50; comint-mode doesn't call hack-dir-local-variables-non-file-buffer |
Date: |
Tue, 02 Apr 2024 16:03:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Tue, 2 Apr 2024 at 14:58, Eli Zaretskii wrote:
> 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.
This observation makes sense, but it mostly applies to the good old
'M-x shell', not to 'M-x project-shell', other language interpreters, or
to compilation buffers.
By the way, I now realize that 'M-x compile' doesn't use comint-mode
by default. Which raises the same question: should compilation-mode
call hack-dir-local-variables-non-file-buffer?
> If you need that for some particular use case, can't you call it from
> comint-mode-hook or something?
Sure, it's an easy customization, but the question is whether it's the
expected default behavior. :-)
- bug#70136: 30.0.50; comint-mode doesn't call hack-dir-local-variables-non-file-buffer, Augusto Stoffel, 2024/04/02
- bug#70136: 30.0.50; comint-mode doesn't call hack-dir-local-variables-non-file-buffer, Eli Zaretskii, 2024/04/02
- bug#70136: 30.0.50; comint-mode doesn't call hack-dir-local-variables-non-file-buffer,
Augusto Stoffel <=
- bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer, Augusto Stoffel, 2024/04/14
- bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer, Eli Zaretskii, 2024/04/14
- bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer, Augusto Stoffel, 2024/04/15
- bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer, Eli Zaretskii, 2024/04/15
- bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer, Stefan Monnier, 2024/04/16
- bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer, Eli Zaretskii, 2024/04/16
- bug#70136: 30.0.50; compilation-mode [was: comint-mode] doesn't call hack-dir-local-variables-non-file-buffer, Stefan Monnier, 2024/04/16