[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#55862: Removing indent-tabs-mode set to t by default
From: |
goncholden |
Subject: |
Re: bug#55862: Removing indent-tabs-mode set to t by default |
Date: |
Mon, 13 Jun 2022 13:26:20 +0000 |
------- Original Message -------
On Tuesday, June 14th, 2022 at 1:06 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> > Perhaps also worth mentioning the little-known:
> >
> > (require 'mode-local)
> > (setq-mode-local foo-mode indent-tabs-mode nil)
>
>
> FWIW, I don't like this one because you lose control about when the
> variable is set.
>
>
> Stefan
The current standing strategy is using
(setq indent-tabs-mode nil)
This variable should be buffer local. But I wonder whether this can be made
global or by major-mode.