[Users] line wrapping when prepending
pf at pfortin.com
Wed Mar 27 13:58:48 CET 2013
On Wed, 27 Mar 2013 11:38:33 +0100 Neels Hofmeyr wrote:
>An algorithm that always automatically rewraps the entire paragraph
>being edited could address both kludges. In fact, it should suffice to
>always re-wrap starting one line above the current cursor position.
OMG!!!!!!!!! Let's be REALLY CAREFUL about getting back into the "wrap"
Those of us who've used CM (and SC) for a LONG time have suffered through
line wrap bugs which I'm sure drove the developers nuts trying to solve.
The worst period was Feb/08-Nov/09 IIRC. Line wrapping issues had been
bugging (sic) us since at least 2002 in sylpheed-claws. The worst ones
would very randomly start wrapping
[above was faked; sorry for freaking out the developers :) ]
IIRC, what Neels brings up is the very area of the code that caused all
that old pain...
Just for nostalgia, from my list archive, here's a prophetic message from
Colin in 2002(!!) on the subject of "re-wrapping short lines"... THANKS
again Colin, Paul, et al for your efforts at squashing all those bugs!
I'll back you if you don't want to touch that part of the [fragile]
From: Colin Leroy <colin at colino.net>
To: sylpheed-claws-users at lists.sourceforge.net
Subject: Re: [Sylpheed-claws-users] New wrap patch
Date: Tue, 19 Mar 2002 09:09:24 +0100
Sender: sylpheed-claws-users-admin at lists.sourceforge.net
Organization: Colino Computing
X-Mailer: Sylpheed version 0.7.4claws21 (GTK+ 1.2.10; powerpc-unknown-linux-gnu)
On Tue, 19 Mar 2002 08:19:00 +0100 Darko Koruga <darko.koruga at hermes.si>
> attached is a patch that attempts to improve the wrapping. Quoting
> initials should now be supported, plus it joins quoted lines when line
> length is less that wrapping margin set in preferences.
> To apply: gzip -d wraponsend_improve1.patch.gz
> cd/path/to/sylpheed-claws patch -p0 <
I applied your patch (hoping it'll solve the disappearing line break) ;
but (as you can see upper, in your "To apply" explanation) I'm not really
sure that rewraping short lines should be automatic...
More information about the Users