From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 Date: Thu, 29 Sep 2011 16:06:13 +0300 Message-ID: <83oby3ebwa.fsf@gnu.org> References: <201109262119.p8QLJ5eU004406@siobhan> <6.2.5.6.2.20110926204557.05af1bb8@flumedata.com> <6.2.5.6.2.20110926224200.05af3bc0@flumedata.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1317301643 31925 80.91.229.12 (29 Sep 2011 13:07:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Sep 2011 13:07:23 +0000 (UTC) To: rgm@gnu.org, 9607-done@debbugs.gnu.org, david_lawless@flumedata.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 29 15:07:19 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R9GKc-0003x7-Rj for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Sep 2011 15:07:19 +0200 Original-Received: from localhost ([::1]:52248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9GKc-000189-3d for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Sep 2011 09:07:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9GKR-00016o-9E for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2011 09:07:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9GKL-0003ke-L2 for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2011 09:07:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9GKL-0003kY-JS for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2011 09:07:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R9GLJ-0005Sj-Ur for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2011 09:08:01 -0400 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Sep 2011 13:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 9607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 9607@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 9607-done@debbugs.gnu.org id=D9607.131730167720983 (code D ref 9607); Thu, 29 Sep 2011 13:08:01 +0000 Original-Received: (at 9607-done) by debbugs.gnu.org; 29 Sep 2011 13:07:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R9GLE-0005SN-QB for submit@debbugs.gnu.org; Thu, 29 Sep 2011 09:07:56 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R9GLC-0005SF-DO for 9607-done@debbugs.gnu.org; Thu, 29 Sep 2011 09:07:55 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LSA00M00CE6OQ00@a-mtaout22.012.net.il> for 9607-done@debbugs.gnu.org; Thu, 29 Sep 2011 16:06:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.8.215]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSA00MXFCEAKX40@a-mtaout22.012.net.il>; Thu, 29 Sep 2011 16:06:11 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 29 Sep 2011 09:08:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51978 Archived-At: > Date: Tue, 27 Sep 2011 02:07:20 -0400 > From: Eli Zaretskii > Cc: 9607@debbugs.gnu.org, david_lawless@flumedata.com > > 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.