Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Torrie Newsgroups: comp.lang.python Subject: Re: best text editor for programming Python on a Mac Date: Sat, 18 Jun 2016 22:56:10 -0600 Lines: 25 Message-ID: References: <7fdf0a4d-64ef-495e-82ff-18707e3ca429@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 06ZcrGF6dL69gh5ttSQoQgK7NzkwgRMU+sFkTBmc7i8w== 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; 'anyway.': 0.04; 'subject:text': 0.04; 'subject:Python': 0.05; 'convention.': 0.07; 'subject:editor': 0.07; 'trailing': 0.07; 'cursor': 0.09; 'ignoring': 0.09; 'scripting': 0.09; '2016': 0.16; 'enabled)': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'jumping': 0.16; 'lend': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Mac': 0.16; 'subject:programming': 0.16; 'wrote:': 0.16; 'later': 0.16; 'lawrence': 0.22; 'rid': 0.22; 'defined': 0.23; 'header:In-Reply- To:1': 0.24; 'all.': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; '(which': 0.26; 'sense': 0.26; 'actual': 0.28; 'character.': 0.29; 'figured': 0.29; 'character': 0.29; 'probably': 0.31; 'option': 0.31; 'michael': 0.33; 'message-id:@gmail.com': 0.34; 'throughout': 0.34; 'file': 0.34; 'text': 0.35; 'but': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'itself': 0.38; 'drop': 0.38; 'wrong': 0.38; 'end': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'space': 0.40; 'your': 0.60; 'entire': 0.61; 'charset:windows-1252': 0.62; 'between': 0.65 X-Virus-Scanned: amavisd-new at torriefamily.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 In-Reply-To: <7fdf0a4d-64ef-495e-82ff-18707e3ca429@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <7fdf0a4d-64ef-495e-82ff-18707e3ca429@googlegroups.com> Xref: csiph.com comp.lang.python:110128 On 06/18/2016 08:51 PM, Lawrence D’Oliveiro wrote: > On Sunday, June 19, 2016 at 2:09:31 PM UTC+12, Michael Torrie wrote: >> It was later on that they figured out the N+1 thing you mentioned >> by ignoring the character cells: >> >> 0 1 2 3 4 5 6 7 8 9 10 H E L L O W O R L D >> >> That works well for interactive editing, but it doesn't lend itself >> as well to scripting and working with the contents of the text >> cells. > > Emacs scripting works perfectly well with this convention. > >> I like that with vim I can see immediately whether there is >> trailing space on a line just by jumping to the end of the line ($) >> which will drop the cursor on the last actual character. > > Emacs has an option (which I have enabled) which shows trailing white > space throughout your entire file in bright red. And I have also > defined a single keystroke that will get rid of it all. And I got it wrong anyway. Both ed and vim either put the cursor between characters (insert mode), or on the character (command mode). Probably made sense at the time.