[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ruler-mode is broken
From: |
Lute Kamstra |
Subject: |
Re: ruler-mode is broken |
Date: |
Wed, 08 Oct 2003 15:28:15 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
> Lute Kamstra <address@hidden> writes:
>
>> I get the impression that things go wrong for (set-fringe-mode (cons l r))
>> when either l or r is 5 or smaller.
>>
>> I think there's a bug in set-fringe-mode as well (unrelated to the bug
>> in ruler-mode).
>
> Not really... at least as long as window widths are required to
> be a whole number of columns wide (based on the default frame font).
>
>> The argument (5 . 5) gives me fringes on the left
>> and right that are smaller than the default (nil . nil). However, the
>> arguments (5 . 0) and (0 . 5) have exactly the same result as (nil . 0)
>> and (0 . nil), respectively: they give a single fringe of the default
>> width on the left and right, respectively.
>
> The total width of the left and right fringe is always rounded up to a
> whole number of columns. So (5 . 0) is equal to (<column width> . 0),
> which is also the usual interpretation of (nil . 0) if your column
> width is larger than 8 (the minimum no. of pixels required by the
> default setting).
I just figured that out. I think the rounding scheme is strange,
though. (See my other message.)
I also just found out that set-window-fringes actually sets the
fringes to any width you like. Why the difference between
set-window-fringes and set-fringe-style?
Lute.
- Re: ruler-mode is broken, (continued)
- Re: ruler-mode is broken, Miles Bader, 2003/10/07
- Re: ruler-mode is broken, Lute Kamstra, 2003/10/08
- Re: ruler-mode is broken, Lute Kamstra, 2003/10/08
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/08
- Re: ruler-mode is broken, Lute Kamstra, 2003/10/08
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/08
- Re: ruler-mode is broken, Lute Kamstra, 2003/10/09
- Re: ruler-mode is broken, Richard Stallman, 2003/10/11
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/11
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/08
- Re: ruler-mode is broken,
Lute Kamstra <=
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/08
- Re: ruler-mode is broken, Lute Kamstra, 2003/10/09
- Re: ruler-mode is broken, Kim F. Storm, 2003/10/10
- Re: ruler-mode is broken, Luc Teirlinck, 2003/10/08
- Re: ruler-mode is broken, David Ponce, 2003/10/08
- Re: ruler-mode is broken, Richard Stallman, 2003/10/10
- Re: ruler-mode is broken, Luc Teirlinck, 2003/10/10
- Re: ruler-mode is broken, Luc Teirlinck, 2003/10/08
- Re: ruler-mode is broken, Luc Teirlinck, 2003/10/08
- Re: ruler-mode is broken, Miles Bader, 2003/10/08