emacs-devel
[Top][All Lists]
Advanced

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

Re: Fringes again


From: Simon Josefsson
Subject: Re: Fringes again
Date: Fri, 24 May 2002 11:47:18 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.50 (i686-pc-linux-gnu)

Miles Bader <address@hidden> writes:

> Simon Josefsson <address@hidden> writes:
>> Does anyone have any opinions on the attached code?
>
> Looks good to me.
>
> A few little nits:
>
>   * I think you should use `left-only' and `right-only' instead of
>     `leftonly' and `rightonly' -- they're easier to read and more
>     consistent with general elisp style.
>
>   * It would be useful if the doc-strings for `set-fringe-style' and
>     `set-fringe-mode' referenced each other explicitly, since the names
>     are so similar that they may cause some confusion.

Fixed.  I committed the code.

>> I have one remaining question: How do you find out the default fringe
>> width?  Right now it is hard coded to 10.
>
> I thought (without having looked at the code) it was 8 pixels rounded
> up to a multiple of the width of a character in the default font.

Right, but how do you programmatically calculate that?




reply via email to

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