Python indentation (3 spaces)

Marko Rauhamaa marko at pacujo.net
Mon Oct 15 07:28:50 EDT 2018


Rhodri James <rhodri at kynesim.co.uk>:

> On 15/10/18 05:45, Marko Rauhamaa wrote:
>> The two-space indentation is the out-of-the-box default for emacs.
>
> Ahem.  It's the default for certain C styles.  It's not even the default
> for C-mode itself, which is 4.

You must be running a different version of emacs than all the versions
I've every run.

Try running

    emacs -q abc.c

and observe the indentation depth.

> Those of us who believe that tabs are evil set indent-tabs-mode nil
> anyway to stop the annoying behaviour.

Yes.


Marko



More information about the Python-list mailing list