All, When using window hscroll (toggle-truncate-lines on a long lines buffer), windmove misbehaves. I mean : with the following window configuration : +------+-----+ | | | | | 2 | | 1 +-----+ | | | | | 3 | +------+-----+ and with the very long lines buffer as current buffer of window 3 and point to the end of a line, `windmove-up' selects the window 1 instead of the window 2. Please merge the attached patch or review it. Best regards, Jérémy -- Sent from my Emacs