[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Annoying difference between wrapmargin and fillcol
From: |
Paul Fox |
Subject: |
Re: [vile] Annoying difference between wrapmargin and fillcol |
Date: |
Mon, 05 May 2008 16:19:07 -0400 |
thomas wrote:
> On Mon, 5 May 2008, Chris G wrote:
>
> > I'm have been using wrapwords and fillcol=70 instead of wrapmargin=10
> > for the past few weeks and there is an annoying difference between the
> > ways that the two approaches work.
> >
> > When you set wrapmargin=10 then the moment a word *begins* to encroach
> > into the last ten columns of the window it is moved to the next line.
> > However when you have wrapwords and fillcol=70 the moving of a word to
> > the next line only occurs when you complete the word and type a space
> > after it. This means that if you happened to complete a line with a
> > word that extends beyond column 70 and then stop insertion (end of
> > message, move to somewhere else, whatever) the word isn't wrapped.
>
> offhand, I suppose we could change the behavior of wrapmargin so it's
> relative to fillcol (though that would be a big change). Adding a
> mode to control that behavior would be less impact...
i'm not confident, but perhaps there's a way to cleanly overload
the wrapmargin value so that negative values mean "from the
left". it's kind of ugly: -70 would mean column 70. 10 would continue
to mean "10 from the right".
paul
=---------------------
paul fox, address@hidden (arlington, ma, where it's 60.1 degrees)