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


Groups > comp.lang.python > #77438

Re: Editing text with an external editor in Python

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:text': 0.05; 'subject:Python': 0.06; 'deploy': 0.09; 'editor.': 0.09; 'subject:editor': 0.09; 'cc:addr:python-list': 0.11; 'gui': 0.12; 'editor,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'problem!': 0.16; 'simple.': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'widget': 0.19; 'cc:addr:python.org': 0.22; "shouldn't": 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'message-id:@mail.gmail.com': 0.30; 'sep': 0.31; 'option': 0.32; 'text': 0.33; 'subject:with': 0.35; 'editor': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'too': 0.37; 'pm,': 0.38; 'how': 0.40; 'easy': 0.60; 'you:': 0.81; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=5l6HEMUYPIEbShUJAtXTBcSiKCLWjzUnDEcKwqNf53A=; b=SeW33Xoj/AaXL96Mn17QakvPMT9JteER58pYNHelJgPdoQPqKa8gwc5KDsWpWMfHVZ xvzc3QfzvYl6D074pRgv4WofiqUMs8RSxbNtQZSLqq+cnJ0cJgK1mSPx7sNkUDKkJ279 JF0qGPC0hocfEuUqRSnLivFY2TLg3bpq02jcf0qgjlOCGPOq/D4sJjSd3cTFz7VEJQiR F7RR2Y86W0MlewZui6J86sUsJV1NHTwHHYDkxxdNpaoM25FgsjKpi0CMp3Tac+V3JHnJ A4GBlEnRGrzfMQLjmhT+PLZR7DcMdCIs9y+ZxagB03I5GzuTQ6jOAiU+M4FkGk8jbN29 HDKA==
MIME-Version 1.0
X-Received by 10.43.64.198 with SMTP id xj6mr595138icb.70.1409647554403; Tue, 02 Sep 2014 01:45:54 -0700 (PDT)
In-Reply-To <zjfNv.198388$rQ.139558@fx13.am4>
References <54049ab7$0$29972$c3e8da3$5496439d@news.astraweb.com> <mailman.13692.1409589319.18130.python-list@python.org> <5404b987$0$30001$c3e8da3$5496439d@news.astraweb.com> <mailman.13694.1409602073.18130.python-list@python.org> <zjfNv.198388$rQ.139558@fx13.am4>
Date Tue, 2 Sep 2014 18:45:54 +1000
Subject Re: Editing text with an external editor in Python
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.13710.1409647561.18130.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1409647561 news.xs4all.nl 2845 [2001:888:2000:d::a6]:40955
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77438

Show key headers only | View raw


On Tue, Sep 2, 2014 at 6:35 PM, alister
<alister.nospam.ware@ntlworld.com> wrote:
> if edlin is your only option then it would be better to spend you time
> writhing your own text editor!

Heh!

Considering how easy it is to deploy a multi-line edit widget in any
GUI toolkit, it shouldn't be too hard to write a GUI text editor. Now,
writing a *good* GUI text editor, that's a bit harder. And of course,
writing a text/console text editor, that's also less simple. But I put
it to you: How do you write your editor up to the point where you can
use it to write your editor? We have a bootstrapping problem!

ChrisA

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


Thread

Editing text with an external editor in Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-02 02:11 +1000
  Re: Editing text with an external editor in Python Chris Angelico <rosuav@gmail.com> - 2014-09-02 02:35 +1000
    Re: Editing text with an external editor in Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-02 04:23 +1000
      Re: Editing text with an external editor in Python Tim Chase <python.list@tim.thechases.com> - 2014-09-01 15:06 -0500
        Re: Editing text with an external editor in Python alister <alister.nospam.ware@ntlworld.com> - 2014-09-02 08:35 +0000
          Re: Editing text with an external editor in Python Chris Angelico <rosuav@gmail.com> - 2014-09-02 18:45 +1000
            Re: Editing text with an external editor in Python alister <alister.nospam.ware@ntlworld.com> - 2014-09-03 08:06 +0000
          Re: Editing text with an external editor in Python Terry Reedy <tjreedy@udel.edu> - 2014-09-02 17:14 -0400
          Re: Editing text with an external editor in Python Chris Angelico <rosuav@gmail.com> - 2014-09-03 07:36 +1000
          Re: Editing text with an external editor in Python Terry Reedy <tjreedy@udel.edu> - 2014-09-02 21:49 -0400
          Re: Editing text with an external editor in Python Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-09-02 22:03 -0500
      Re: Editing text with an external editor in Python Chris Angelico <rosuav@gmail.com> - 2014-09-02 08:30 +1000
  Re: Editing text with an external editor in Python Roy Smith <roy@panix.com> - 2014-09-01 13:06 -0400
    Re: Editing text with an external editor in Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-02 04:02 +1000
      Re: Editing text with an external editor in Python Cameron Simpson <cs@zip.com.au> - 2014-09-02 08:14 +1000
        Re: Editing text with an external editor in Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-02 13:18 +1000
      Re: Editing text with an external editor in Python Chris Angelico <rosuav@gmail.com> - 2014-09-02 08:25 +1000
  Re: Editing text with an external editor in Python gschemenauer3@gmail.com - 2014-09-01 19:24 -0700

csiph-web