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 16:44:36 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Lute Kamstra <address@hidden> writes:

> I seems that set-fringe-style insists on setting the sum of the widths
> of the left and right fringe to a multiple of `(frame-char-width)',
> but does so in a (for me) counterintuitive way.  

At least it works exactly as I designed it to do ;-)


>                                                  If one can only set
> the left and right fringe width width to a pair (l-allowed .
> r-allowed) for which (% (+ l-allowed r-allowed) (frame-char-width)) is
> zero, I would expect an arbitrary width pair (l . r) to be mapped a
> pair (l-allowed . r-allowed) for which the Euclidean distance is
> minimal.  This is not the case as, for example:
> 
> (l . r)  |-->  (l-allowed . r-allowed)
> 
> (0 . 0)  |-->  (0 . 0)
> (0 . 1)  |-->  (0 . 11)
> (1 . 1)  |-->  (5 . 6)
> 
> Shall we change the behavior of set-fringe-style so that it minimizes
> the Euclidean distance?  

What results would you expect in the above examples ?
(0 . 0) in all cases?

What generic values would you use then to get the effect of 'miminal' (1 . 1)
and 'half' (5 . 5) fringes ?


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





reply via email to

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