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?

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:IDLE': 0.04; 'interpreter.': 0.07; 'python': 0.09; 'deletes': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tab': 0.09; 'terry': 0.09; 'applies': 0.15; 'backspace': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'simulated': 0.16; 'subject: \n ': 0.16; 'subject:configure': 0.16; 'width,': 0.16; 'wrote:': 0.17; 'alex': 0.17; 'jan': 0.18; 'appropriate': 0.20; 'tracker': 0.20; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.28; 'indentation': 0.29; "i'm": 0.29; 'becomes': 0.30; 'code': 0.31; 'idle': 0.33; 'to:addr:python- list': 0.33; 'pm,': 0.35; 'sometimes': 0.35; 'subject:?': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'others.': 0.36; 'editor': 0.37; 'being': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'space': 0.39; 'header:Received:5': 0.40; 'subject:there': 0.65; 'experiment': 0.84; 'received:fios.verizon.net': 0.84; 'subject:tabs': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Is there a way to configure IDLE to use spaces instead of tabs for indenting?
Date Sat, 25 Aug 2012 07:29:48 -0400
References <k18vgg$sp9$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
In-Reply-To <k18vgg$sp9$1@dont-email.me>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3800.1345894235.4697.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1345894235 news.xs4all.nl 6916 [2001:888:2000:d::a6]:55006
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:27868

Show key headers only | 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