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 22:54:42 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Lute Kamstra <address@hidden> writes:

> address@hidden (Kim F. Storm) 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 ;-)
> 
> So it's not a bug then.  ;-)
> 

The reasoning is that emacs should never select a width that is less than
what the user requested.  

Currently, this may not make a lot of sense, but I plan to make the
fringe bitmaps customizable (and add the ability to define additional
bitmaps in the fringes).  In that case, I could easily envision a mode
which would use bitmaps of width 4 in the left fringe, and a desire to
narrow that fringe to exactly (or at least) 4 pixels.

Now suppose, you specify the fringes as (4 . 8) with a char width of 11,
and emacs chooses to give you (3 . 8).  So the current logic was chosen to
avoid having to modify the behaviour later on.


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





reply via email to

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