GNU bug report logs - #32120
26.1; In python.el tab-width should default to 4

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Tue, 10 Jul 2018 22:06:02 UTC

Severity: wishlist

Tags: notabug

Found in version 26.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: 32120 <at> debbugs.gnu.org
Subject: bug#32120: 
Date: Mon, 7 Jan 2019 00:13:26 -0300
Some months later, I'm insisting on this.

I don't see any point in setting the default to 8 when:

1. PEP 8 clearly states: use 4 spaces per indentation level.
2. Python mode specific rigid indentation mechanism defaults to 4 spaces.

AFAICS the only thing you get by setting tab-width to 8 is
incompatibility of emacs standard rigid indentation mechanism (M-x
Tab) with both 1 and 2. I think it's important to play well with
standard facilities (despite python mode providing it's own variant)
and, in any case, there is no good reason, no trade off, not to do it.




This bug report was last modified 5 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.