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.
There's also window configuration. Both VM and GNUS offer
sophisticated windwo configuration options. In the case of VM,
the last action of the procedure that applies a configuration to
the display is to call select-window.