vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Annoying difference between wrapmargin and fillcol


From: Chris G
Subject: Re: [vile] Annoying difference between wrapmargin and fillcol
Date: Mon, 5 May 2008 21:47:55 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

On Mon, May 05, 2008 at 04:19:07PM -0400, Paul Fox wrote:
> 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".
> 
It makes it a bit like -ve values for fillcol though, but the other
way around, so it does make some sort of sense.  It would be a
satisfactory solution for me anyway!  :-)

-- 
Chris Green




reply via email to

[Prev in Thread] Current Thread [Next in Thread]