Subject: Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1
From: Eli Zaretskii <[email-masked]>
To: [email-masked], [email-masked], [email-masked]
Date: Thu, 29 Sep 2011 16:06:13 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Tue, 27 Sep 2011 02:07:20 -0400
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked], [email-masked]
> 
> The problem is that line-move-visual assumes that the move begins with
> cursor positioned at point, which is false when auto-hscroll-mode is
> turned off and point is scrolled out of view.
> 
> Before I dive into this mess (again), do we even want to support
> auto-hscroll-mode nil _and_ visual line movement?  What if we tell
> line-move to invoke logical line movement instead when
> auto-hscroll-mode is off?  Would someone object?

No one objected, so I fixed this in revision 105959 on the trunk by
disabling visual line movement when auto-hscroll-mode is disable and
the window is hscrolled.