Hrvoje Niksic <hniksic(a)iskon.hr> writes:
wmperry(a)aventail.com (William M. Perry) writes:
It would be nice if XEmacs relied more on curses. In fact, even
mandating ncurses for TTY support would probably be better than the
half-assed TTY code we have now.
If it relied on curses, it would be much easier to make the redisplay treat
each Emacs `window' as a real window on whatever the window system is (GTK
/ X / mswin / tty), which would make it so that you could get rid of the
current scrollbar placement code and let a geometry manager do it, etc.
I think that if you created new device methods for create_window,
move_window, set_window_size, set_window_scrollbar_policy, perhaps a few
more, then the redisplay mechanism would just have to worry about drawing
text for _1_ window, and you would have a new mechanism for managing the
window placement, etc.
> Writing a basic geometry manager for XEmacs on top of a decent
curses
> library wouldn't be too hard. If we make every redisplay target _but_
> TTYs easier, I think it would justify making the TTY support a bit
> harder.
I agree in theory, but we should be careful of such sweeping statements
unless someone is willing to do the work. Our current TTY support is
extremely shaky as it is, and noone has shown interest in fixing it
himself.
I would be willing to help. I _really_ hate how the current redisplay
handles all of this.
-Bill P.