>>>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
>>>> "Klaus" == Klaus Berndl <Berndl>
writes:
Klaus> If i understand the function window-list right it should
Klaus> return a window-list in that order `other-window',
Klaus> `walk-windows' or `next-window' would return/ Move?! Is my
Klaus> understanding right?
Stephen> The documentation says "a list." No promise about order (except
that
Stephen> the specified window comes first), no mention of the other functions.
Stephen's right.
Klaus> If not then i would vote for that order!
Stephen> Why? It seems to me that if you have an application that wants to
Stephen> walk through the windows in `walk-windows' order it should use
Stephen> `walk-windows'. Keeping a list around and depending on its order to
Stephen> be correct later is just asking for trouble.
Stephen> In any case, if you're going to make this change you need to fix the
Stephen> documentation of window-list and walk-windows at least to specify that
Stephen> they give the same order, and maybe what that order is.
I don't think this is the right approach for a function called only
`window-list.' If you need this kind of functionality, you should
simply add a new function that's called `window-list-in-next-order.'
Not that I think *this* would be particularly useful: If you need to
traverse the windows according to some order, it's probably a better
idea to do so explicitly.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla