Hrvoje Niksic writes:
Hrvoje> The realistic question is: do we need that level of detail? (I
Hrvoje> sometimes wonder the same about specifiers.) Ben felt very strongly
Hrvoje> that we didn't, and I didn't quite agree with his position, but I do
Hrvoje> see a merit to the question.
This is a question worth to be asked indeed. There are different
things to consider here: everyone's wishes and the current state-of-the-art.
Personally, I find several things annoying. The randomness of the size of the
scrollbar is one, the fact that a line is 3 kilometers high just because
there's an image in it is another. The fact that you can't really scroll
appart from on a character basis is yet another. Now I can admit that whether
those /features/ are worth rewriting is arguable. However, the current
state-of-the-art shows more important things to me: when you're beginning to
write kludgy code to achieve what you want to do, I simply demonstrates that
you lack some features you really need. And their are already rather kludgy
stuff in the current code. Again for example, computing the relative ammount
of visible portion of a buffer in a window is extremely hacky because we don't
have a proper way to achieve this. Hence the randomness of the scrollbar size.
Facing such constraints in crucial features like scrolling appears to
me a reason good enough to consider reimplementing the engine.
Hrvoje> How much work is it to create such a redisplay engine? Could we use
Hrvoje> the work done by Andrew Innes(sp?), who created the new FSFmacs
Hrvoje> redisplay.
I suspect the amount of work is ... big ;-)
When I read (quickly I admit) through Andrew Innes's page, it appeared very
very technical to me. If I were to start thinking of a new engine soon, I'd
start with writing down the features I'd like, the high-level interface and
the architecture I foresee. Then, I could have a reasonable point of view of
his work and how it could be used. I can't give any valid opinion right now.
--
/ / _ _ Didier Verna
http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:vernaļ¼ inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 73 46
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19