Subject: Re: bug#21732: 25.0.50; intermittent failure using windmove when in doc-view buffer

From: Tassilo Horn <[email-masked]>
Date: Fri, 23 Oct 2015 07:43:56 +0200

Daniel McClanahan <[email-masked]> writes:

> As an aside, I've also found that when a doc-view-mode buffer is
> adjacent to a frame border, using windmove directed at that border (so
> using windmove-right when the window is on the right side of the
> frame) occasionally fails with "No window right from selected window"
> (or whatever the direction is).

Isn't that exactly as it should be?  Or do you have
`windmove-wrap-around' set to t?  In the latter case, moving towards the
border of a window at the frame border should wrap around in general.
But if the window is the only one in that direction, it'll signal the
error anyhow, i.e., when you just have one window in a frame, or just to
windows above each other and you try windmove-left/right.

Bye,
Tassilo