A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025006.html below:

[Python-Dev] Re: Where to put wrap_text()?

[Python-Dev] Re: Where to put wrap_text()? [Python-Dev] Re: Where to put wrap_text()?Guido van Rossum guido@python.org
Tue, 04 Jun 2002 14:55:11 -0400
> Excellent if it could be done exactly this way.  However, things are
> not always that simple.  If a newline is inserted at some point for
> wrapping purposes, it is desirable and usual to remove what was
> whitespace around that point, so we do not have unwelcome spaces at
> start of the beginning line, or spurious trailing whitespace at end
> of the previous line.  If the wrapping device otherwise replaces
> sequences of many spaces by one, it should be careful at replacing
> many space by two, in context of full stops.

Emacs does it this way because you reformat the same paragraph over
and over.  The downside is that sometimes a line is shorter than it
could be because it would end in a period.  For what we're doing here
(producing tidy output) I prefer not to do the Emacs fiddling.

--Guido van Rossum (home page: http://www.python.org/~guido/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4