Andy Piper writes:
At 04:11 PM 12/23/99 -0800, Kyle Jones wrote:
>Jan Vroonhof writes:
> > I still wonder why all that code uses select-window.
>
>Speaking for VM, the answer is that the scrolling routines scroll-up
>and scroll-down operate on the selected window. Otherwise I would
>avoid using select-window, because it reorders the buffer list.
I'm still keen to fix this in lisp, maybe by turning off the gutter update
if we are in a window excursion.
I think we should do what redisplay does. Record the changes that
should affect the gutter as they happen, but only compute and display
the results when the system goes idle, i.e. when XEmacs is waiting
for an event. I think this means that update-tab-in-gutter shoudl be
on pre-idle-hook, and should be smarter about whether an update needs
to happen or not.