Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'plenty': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'fancy': 0.16; 'indent': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'select': 0.22; 'header:User-Agent:1': 0.23; 'sort': 0.25; 'options': 0.25; 'task': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'mode': 0.30; 'statement': 0.30; 'code': 0.31; 'lines': 0.31; 'that.': 0.31; 'there.': 0.32; 'text': 0.33; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'simple': 0.61; 'again?': 0.84; 'everything.': 0.84; 'subject:Global': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: "Neil D. Cerutti" Subject: Re: Global indent Date: Fri, 22 Aug 2014 14:44:39 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: jackman.norwich.edu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 1408733106 news.xs4all.nl 2975 [2001:888:2000:d::a6]:33444 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76807 On 8/22/2014 2:19 PM, Seymore4Head wrote: > Is there a way to indent everything again? > > Say I have a while statement with several lines of code and I want to > add a while outside that. That means indenting everything. Is there > a global way to do that? This sort of simple task is why fancy text editors were invented. I use and recommend gvim (press > in select mode using the standard python plugin), but there are plenty of options out there. -- Neil Cerutti