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: Noam Postavsky <npostavs <at> gmail.com>
To: Carlos Pita <carlosjosepita <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, Robert Pluim <rpluim <at> gmail.com>, 32120 <at> debbugs.gnu.org
Subject: bug#32120: 26.1; In python.el tab-width should default to 4
Date: Sat, 30 Mar 2019 08:52:33 -0400
Carlos Pita <carlosjosepita <at> gmail.com> writes:

> On Sat, Mar 30, 2019 at 12:17 AM Noam Postavsky <npostavs <at> gmail.com> wrote:
>
>>
>> Seems clear to me that the proper solution is simply to rebind C-x Tab
>> S-left/right to use python-indent-shift-left/right.  That will solve the
>> actual problem you experience, without incorrectly showing any existing
>> tab charaters as 4 spaces.
>>
>>
>  I would agree with you if I understood why is it incorrect to show 4
> spaces for a tab.

Because, as Glenn mentioned, the Python spec specifically says that tabs
should be 8 spaces.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32120#14




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

Previous Next


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