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


Groups > comp.lang.python > #76820

Re: Global indent

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'beginner': 0.05; 'that?': 0.05; '(python': 0.07; 'see.': 0.07; 'modes': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'runs': 0.10; 'gui': 0.12; 'url:download': 0.12; 'windows': 0.15; 'indent': 0.16; 'phases.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'steep': 0.16; 'do,': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'aug': 0.22; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'fine': 0.24; 'looks': 0.24; "i've": 0.25; 'nearly': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'statement': 0.30; 'code': 0.31; 'lines': 0.31; 'that.': 0.31; 'compatible': 0.32; 'text': 0.33; 'everyone': 0.33; 'fri,': 0.33; 'editor': 0.35; 'but': 0.35; 'add': 0.35; 'there': 0.35; 'version': 0.36; 'idle': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'simple': 0.61; 'decided': 0.64; 'worth': 0.66; 'anything.': 0.68; 'again?': 0.84; 'everything.': 0.84; 'url:php': 0.85; 'good,': 0.91; 'subject:Global': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From "Neil D. Cerutti" <neilc@norwich.edu>
Subject Re: Global indent
Date Fri, 22 Aug 2014 16:16:32 -0400
References <tl1fv9di31uj2mq87u5mpudqjql2o5bvbv@4ax.com> <bt6fv9djhcv0h5jauao5dij7urmgteoa53@4ax.com> <20140822125414.1fe9eb5c@rg.highlandtechnology.com>
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 <20140822125414.1fe9eb5c@rg.highlandtechnology.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13306.1408738616.18130.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1408738616 news.xs4all.nl 2911 [2001:888:2000:d::a6]:46550
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:76820

Show key headers only | View raw


On 8/22/2014 3:54 PM, Rob Gaddi wrote:
> On Fri, 22 Aug 2014 15:46:33 -0400
> Seymore4Head <Seymore4Head@Hotmail.invalid> wrote:
>
>> On Fri, 22 Aug 2014 14:19:29 -0400, Seymore4Head
>> <Seymore4Head@Hotmail.invalid> 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?
>>
>> Ok.....so the answer is no using IDLE (Python GUI)
>>
>> The top two answers so far are Emacs and gvim.
>>
>> http://gvim.en.softonic.com/  Has a snazzy look, but I think it is not
>> compatible with Windows so it looks like I might have to try Emacs.

gvim runs just fine on Windows. http://www.vim.org/download.php

>> Thanks everyone
>
> Emacs and vim both have huge learning curves that I've decided aren't
> worth climbing.  Notepad++ is an excellent GUI text editor for Windows.
> Geany is nearly as good, and runs on anything.

They do have a very long learning incline but it isn't actually as steep 
as it looks--it's just that it keeps going up as far as you can see.  :)

If simple things weren't simple to do, neither product would have ever 
succeeded.

The GUI version of Vim (gvim), has beginner modes and Windows-like modes 
to help with the transitional phases.

-- 
Neil Cerutti

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


Thread

Global indent Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-22 14:19 -0400
  Re: Global indent Skip Montanaro <skip@pobox.com> - 2014-08-22 13:34 -0500
  Re: Global indent "Neil D. Cerutti" <neilc@norwich.edu> - 2014-08-22 14:44 -0400
  Re: Global indent Dan Stromberg <drsalists@gmail.com> - 2014-08-22 12:21 -0700
  Re: Global indent Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-22 15:46 -0400
    Re: Global indent Rob Gaddi <rgaddi@technologyhighland.invalid> - 2014-08-22 12:54 -0700
      Re: Global indent Marko Rauhamaa <marko@pacujo.net> - 2014-08-22 23:11 +0300
        Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 19:08 +1000
          Re: Global indent Marko Rauhamaa <marko@pacujo.net> - 2014-08-23 12:32 +0300
          Re: Global indent Christian Gollwitzer <auriocus@gmx.de> - 2014-08-23 11:41 +0200
            Re: Global indent Joshua Landau <joshua@landau.ws> - 2014-08-23 15:19 +0100
              Re: Global indent Christian Gollwitzer <auriocus@gmx.de> - 2014-08-23 18:17 +0200
                Re: Global indent Joshua Landau <joshua@landau.ws> - 2014-08-23 21:57 +0100
                Re: Global indent Rustom Mody <rustompmody@gmail.com> - 2014-08-23 14:55 -0700
                Re: Global indent Joshua Landau <joshua@landau.ws> - 2014-08-24 20:24 +0100
            Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-24 00:56 +1000
              Re: Global indent Christian Gollwitzer <auriocus@gmx.de> - 2014-08-23 18:09 +0200
              Re: Global indent Anders Wegge Keller <wegge@wegge.dk> - 2014-08-23 22:43 +0200
                Re: Global indent Marko Rauhamaa <marko@pacujo.net> - 2014-08-24 01:50 +0300
            Re: Global indent Tim Chase <python.list@tim.thechases.com> - 2014-08-23 15:18 -0500
          Re: Global indent Rustom Mody <rustompmody@gmail.com> - 2014-08-23 07:49 -0700
          Re: Global indent [levity] Peter Pearson <pkpearson@nowhere.invalid> - 2014-08-23 17:17 +0000
      Re: Global indent "Neil D. Cerutti" <neilc@norwich.edu> - 2014-08-22 16:16 -0400
      Re: Global indent Dan Stromberg <drsalists@gmail.com> - 2014-08-22 14:14 -0700
        Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 19:31 +1000
          Re: Global indent Tim Chase <python.list@tim.thechases.com> - 2014-08-23 15:09 -0500
      Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 18:19 +1000
        Re: Global indent alister <alister.nospam.ware@ntlworld.com> - 2014-08-23 10:17 +0000
          Re: Global indent Gene Heskett <gheskett@wdtv.com> - 2014-08-23 10:32 -0400
    Re: Global indent Chris Angelico <rosuav@gmail.com> - 2014-08-23 06:20 +1000
    Re: Global indent Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-22 21:59 +0100
    Re: Global indent mm0fmf <none@mailinator.com> - 2014-08-23 12:50 +0100
  Re: Global indent Simon Ward <simon@bleah.co.uk> - 2014-08-22 20:22 +0100
  Re: Global indent Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-23 18:12 +1000
  Re: Global indent Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-23 11:10 -0400

csiph-web