Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27868

Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting?

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting?
Date 2012-08-25 07:29 -0400
References <k18vgg$sp9$1@dont-email.me>
Newsgroups comp.lang.python
Message-ID <mailman.3800.1345894235.4697.python-list@python.org> (permalink)

Show all headers | View raw


On 8/24/2012 6:33 PM, Alex wrote:
> I'm new to Python and have been using IDLE 3.2.3 to experiment with
> code as I learn. Despite being configured to use a 4 space indentation

That applies to the editor and works in the editor for me and others. A 
tab becomes 4 space characters, and a backspace in the appropriate place 
deletes 4 space characters.

> width, sometimes IDLE's "smart" indentation insists upon using width-8
> tabs.

Only for the simulated interpreter. There is a tracker issue about 
changing that but no consensus.


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is there a way to configure IDLE to use spaces instead of tabs for indenting? "Alex" <foo@email.invalid> - 2012-08-24 22:33 +0000
  Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? Terry Reedy <tjreedy@udel.edu> - 2012-08-25 07:29 -0400
    Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? "Alex" <foo@email.invalid> - 2012-08-25 12:50 +0000
      Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-08-25 14:20 +0100
        Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? "Alex" <foo@email.invalid> - 2012-08-25 14:17 +0000
          Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? Terry Reedy <tjreedy@udel.edu> - 2012-08-25 14:36 -0400
  Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 06:04 -0700
    Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? "Alex" <foo@email.invalid> - 2012-09-06 13:43 +0000
      Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-06 06:54 -0700
      Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? Terry Reedy <tjreedy@udel.edu> - 2012-09-06 14:11 -0400
        Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? "Alex" <foo@email.invalid> - 2012-09-07 01:40 +0000
      Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? Fabio Zadrozny <fabiofz@gmail.com> - 2012-10-17 12:10 -0300
        Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting? "Alex" <foo@email.invalid> - 2012-10-17 15:34 +0000

csiph-web