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

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

Re: Indentation with spaces


From: Skip Montanaro
Subject: Re: Indentation with spaces
Date: Thu, 9 Jun 2022 04:51:17 -0500

> > As for TAB not inserting a literal TAB character,
> > indentation is controlled by the major mode. I believe that
> > for ELisp, the default indentation is just two spaces.
> > (Don't quote me on that though.)
>
> Why is `indent-tabs-mode' t by default? Tabs should not
> be used.

We say that today. I've been using some version of Emacs since the
early 1980s. Before the appearance of indentation-sensitive languages
like Python, inserting a literal TAB when the TAB key was pressed made
sense.

I suspect it's a case of "old habits die hard."

Skip



reply via email to

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