[Top][All Lists]

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

Re: Customize fringe widths

From: Eli Zaretskii
Subject: Re: Customize fringe widths
Date: Mon, 19 Nov 2001 13:29:19 +0200 (IST)

On 19 Nov 2001, Kim F. Storm wrote:

> Maybe the function should have a left/right parameter and set that
> fringe only, e.g.
>         (set-fringe-width frame 'left 10)
>         (set-fringe-width frame 'right 20)

This is reasonable, I think.

> > >   The actual size of the fringes is adjusted so that together, they 
> > > occupy an
> > >   integral number of columns.
> > 
> > Why not use whatever the arguments specify?  That way, you won't
> > surprise the caller.
> >
> Because the existing code explicitly makes an effort to ensure that the
> fringe (left+right together) occupies an integral number of columns.

Right, I forgot about this.  I guess we have no choice, then.

> We could change indicate-empty-lines to have additional values:
> If 'right, show in right fringe if present;
> if 'left, show in left fringe if present;
> otherwise, if non-nil, show in left fringe if present, else in right fringe 
> if present.

Yes, something like that.

reply via email to

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