help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spaces rather than tabs by a major mode hook


From: Yuri Khan
Subject: Re: Spaces rather than tabs by a major mode hook
Date: Thu, 9 Jun 2022 23:34:28 +0700

On Thu, 9 Jun 2022 at 23:13, goncholden <goncholden@protonmail.com> wrote:

> I would like to use a combination, using spaces except for cases where
> some tabs are a requirement of the language.
>
> What is best in such case?

Major modes where spaces or tabs are syntactically significant, such
as makefile-mode and python-mode, already override indent-tabs-mode.

Set indent-tabs-mode for your global preference. Deal with exceptions
on a case-by-case basis, when and if you encounter them.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]