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: 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 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: 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: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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