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

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

Re: vertical bar between windows disrupts my view


From: Kim F. Storm
Subject: Re: vertical bar between windows disrupts my view
Date: 05 Apr 2004 14:16:19 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Stefan Monnier <address@hidden> writes:

> >> Given that the `default' face can be proportional and thus the width or one
> >> "column" doesn't necessarily have much to do with the width of any
> >> character, couldn't we get rid of this limitation by forcing the
> >> calculation of the column-width to always return "1 pixel" ?
> 
> > I wish it was that trivial, but it isn't for various reasons.
> 
> Well, a little bit of dreaming can't hurt.
> 
> > E.g. The default frame width is 80 columns ... which usually means
> > somewhat more than 80 pixels...
> 
> That's very minor.

But illustrates the sort of problems that you have to fix.

> 
> > There are many other (implicit) assumptions like that spread all over
> > the code.
> 
> But is it going to behave sub-optimally or is it going to crash?
> If it won't crash, then we could at least try it out and fix the problems
> one by one.

I don't know -- feel free to try it out...

The main problem as I see it is that there's no clear distinction
between when the "default font width" is used to actually calculate a
(sensible) column width, and when it's just used to scale things to
pixels.

I guess it would be better to work on the code directly sorting out
all such problems head on, rather than trying something which is certain
to be broken in all sorts of strange ways.

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





reply via email to

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