emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: ruler-mode is broken


From: Kim F. Storm
Subject: Re: ruler-mode is broken
Date: 08 Oct 2003 15:06:58 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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).

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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