From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 17:23:58 2011 Received: (at submit) by debbugs.gnu.org; 26 Sep 2011 21:23:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Ieb-0000La-Ff for submit@debbugs.gnu.org; Mon, 26 Sep 2011 17:23:57 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Iam-0000FO-PM for submit@debbugs.gnu.org; Mon, 26 Sep 2011 17:20:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Ia2-00049i-EG for submit@debbugs.gnu.org; Mon, 26 Sep 2011 17:19:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Ia2-00049e-Cn for submit@debbugs.gnu.org; Mon, 26 Sep 2011 17:19:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]:39679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Ia1-0001mJ-9T for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 17:19:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Ia0-00049J-5P for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 17:19:13 -0400 Received: from mx.binnacle.cx ([74.95.187.105]:19030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8IZz-00048u-VX for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 17:19:12 -0400 Received: from siobhan. (siobhan [172.29.87.19]) by mx.binnacle.cx (envelope-from ) (8.14.4/8.14.4) with ESMTP id p8QLJ6Dv000874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 Sep 2011 17:19:06 -0400 Received: from siobhan. (localhost.localdomain [127.0.0.1]) by siobhan. (8.13.8/8.13.8) with ESMTP id p8QLJ527004409 for ; Mon, 26 Sep 2011 17:19:06 -0400 Received: (from lawless@localhost) by siobhan. (8.13.8/8.13.1/Submit) id p8QLJ5eU004406; Mon, 26 Sep 2011 17:19:05 -0400 Date: Mon, 26 Sep 2011 17:19:05 -0400 Message-Id: <201109262119.p8QLJ5eU004406@siobhan.> From: David Lawless To: bug-gnu-emacs@gnu.org Subject: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 Received-SPF: pass (mx.binnacle.cx: 172.29.87.19 is whitelisted by SPF-milter whitelist entry) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 26 Sep 2011 17:23:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) have "(setq automatic-hscroll-mode nil)" in .emacs file edit wide output of file copied from /proc/interrupts (machine has 12 cores) place cursor at around column 12, then scroll out to left view with "scroll-left" so ends-of-lines appear in middle of windows, then from mapped key issue "next-line" twice first time it behaves correctly, second time display scrolls horizontally so cursor is visible, which it should not do was upgrading from 20.5a to 23.3a when noticed this; went back to 22.1 and it works ok In GNU Emacs 22.1.1 (x86_64-unknown-linux-gnu) of 2011-09-26 on siobhan configured using `configure '--without-x'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: file-name-shadow-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: ESC x TAB C-g ESC x r e p TAB o TAB DEL o t TAB DEL r TAB C-j Recent messages: ("emacs") Loading hi-lock...done Loading cc-mode...done Loading make-mode...done Making completion list... Loading help-mode...done Quit [2 times] Making completion list... [2 times] Loading emacsbug...done From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 17:38:01 2011 Received: (at 9607) by debbugs.gnu.org; 26 Sep 2011 21:38:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8IsC-0001Pp-Jf for submit@debbugs.gnu.org; Mon, 26 Sep 2011 17:38:00 -0400 Received: from mx.binnacle.cx ([74.95.187.105]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8IsB-0001Pi-0f for 9607@debbugs.gnu.org; Mon, 26 Sep 2011 17:37:59 -0400 Received: from CIANNAIT.flumedata.com (ciannait [172.29.87.10]) by mx.binnacle.cx (envelope-from ) (8.14.4/8.14.4) with ESMTP id p8QLbC5h001095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <9607@debbugs.gnu.org>; Mon, 26 Sep 2011 17:37:13 -0400 Message-Id: <6.2.5.6.2.20110926173256.039ef2d0@flumedata.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6 Date: Mon, 26 Sep 2011 17:36:14 -0400 To: 9607@debbugs.gnu.org From: David Lawless Subject: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Received-SPF: pass (mx.binnacle.cx: 172.29.87.10 is whitelisted by SPF-milter whitelist entry) X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9607 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) see that in 22.1 the .emacs file setting is (setq automatic-hscrolling nil) instead of (setq automatic-hscroll-mode nil) This does not change that the behavior is broken in version 23 and works ok in 21.1. Would venture to guess that it stopped working correctly at the time the code was modified to effect the above variable name change. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 20:34:35 2011 Received: (at 9607) by debbugs.gnu.org; 27 Sep 2011 00:34:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Ld5-0005c6-N7 for submit@debbugs.gnu.org; Mon, 26 Sep 2011 20:34:35 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Ld4-0005bz-BN for 9607@debbugs.gnu.org; Mon, 26 Sep 2011 20:34:35 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R8LcJ-0001Pp-AK; Mon, 26 Sep 2011 20:33:47 -0400 From: Glenn Morris To: David Lawless Subject: Re: bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 References: <201109262119.p8QLJ5eU004406@siobhan.> X-Spook: credit card Venezuela Bush Wired threat eavesdropping X-Ran: jP=['j#a:VgXwy4|$X:#ae*r1|k*0$GCOj1+\V9*sC\EQ1JBPbzT^>UAO*1xxY^>*pn]PD X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Sep 2011 20:33:47 -0400 In-Reply-To: <201109262119.p8QLJ5eU004406@siobhan.> (David Lawless's message of "Mon, 26 Sep 2011 17:19:05 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9607 Cc: 9607@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) David Lawless wrote: > have "(setq automatic-hscroll-mode nil)" in .emacs file Did you mean `auto-hscroll-mode'? There is no `automatic-hscroll-mode' in Emacs. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 20:48:35 2011 Received: (at 9607) by debbugs.gnu.org; 27 Sep 2011 00:48:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Lqc-0005xB-QO for submit@debbugs.gnu.org; Mon, 26 Sep 2011 20:48:35 -0400 Received: from mx.binnacle.cx ([74.95.187.105]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8LqZ-0005x1-IK for 9607@debbugs.gnu.org; Mon, 26 Sep 2011 20:48:33 -0400 Received: from CIANNAIT.flumedata.com (ciannait [172.29.87.10]) by mx.binnacle.cx (envelope-from ) (8.14.4/8.14.4) with ESMTP id p8R0lifF002147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Sep 2011 20:47:44 -0400 Message-Id: <6.2.5.6.2.20110926204557.05af1bb8@flumedata.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6 Date: Mon, 26 Sep 2011 20:47:44 -0400 To: Glenn Morris From: David Lawless Subject: Re: bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 In-Reply-To: References: <201109262119.p8QLJ5eU004406@siobhan.> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Received-SPF: pass (mx.binnacle.cx: 172.29.87.10 is whitelisted by SPF-milter whitelist entry) X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 9607 Cc: 9607@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Yes, miskeyed it. Emacs didn't spit at it when it was in .emacs so I did have it right at the time. 23 is gone so typed that from inaccurate recollection. At 08:33 PM 9/26/2011 -0400, Glenn Morris wrote: >David Lawless wrote: > >> have "(setq automatic-hscroll-mode nil)" in .emacs file > >Did you mean `auto-hscroll-mode'? >There is no `automatic-hscroll-mode' in Emacs. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 22:30:42 2011 Received: (at 9607) by debbugs.gnu.org; 27 Sep 2011 02:30:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8NRS-0008El-3n for submit@debbugs.gnu.org; Mon, 26 Sep 2011 22:30:42 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8NRQ-0008Ee-3M for 9607@debbugs.gnu.org; Mon, 26 Sep 2011 22:30:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak0JACU0gU5FpZLc/2dsb2JhbABCmGCPE3mBUwEBBAFWIwULCzQHCxQYDSSIC7lhhwsEoF+EQw X-IronPort-AV: E=Sophos;i="4.68,447,1312171200"; d="scan'208";a="138654959" Received: from 69-165-146-220.dsl.teksavvy.com (HELO ceviche.home) ([69.165.146.220]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 26 Sep 2011 22:29:52 -0400 Received: by ceviche.home (Postfix, from userid 20848) id E0252660B6; Mon, 26 Sep 2011 22:29:51 -0400 (EDT) From: Stefan Monnier To: David Lawless Subject: Re: bug#9607: incorrect behavior with "automatic-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 Message-ID: References: <201109262119.p8QLJ5eU004406@siobhan.> <6.2.5.6.2.20110926204557.05af1bb8@flumedata.com> Date: Mon, 26 Sep 2011 22:29:51 -0400 In-Reply-To: <6.2.5.6.2.20110926204557.05af1bb8@flumedata.com> (David Lawless's message of "Mon, 26 Sep 2011 20:47:44 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 9607 Cc: Glenn Morris , 9607@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) > Yes, miskeyed it. Emacs didn't spit at it when > it was in .emacs so I did have it right at the > time. Emacs wouldn't spit at (setq foo-bar-baz nil) either. It only complains if the variable does exist and is read-only. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 22:45:47 2011 Received: (at 9607) by debbugs.gnu.org; 27 Sep 2011 02:45:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Ng2-00009N-PI for submit@debbugs.gnu.org; Mon, 26 Sep 2011 22:45:47 -0400 Received: from mx.binnacle.cx ([74.95.187.105]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Nfy-00009C-EF for 9607@debbugs.gnu.org; Mon, 26 Sep 2011 22:45:43 -0400 Received: from CIANNAIT.flumedata.com (ciannait [172.29.87.10]) by mx.binnacle.cx (envelope-from ) (8.14.4/8.14.4) with ESMTP id p8R2iswD003431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Sep 2011 22:44:55 -0400 Message-Id: <6.2.5.6.2.20110926224200.05af3bc0@flumedata.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6 Date: Mon, 26 Sep 2011 22:43:50 -0400 To: Stefan Monnier From: David Lawless Subject: Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 In-Reply-To: References: <201109262119.p8QLJ5eU004406@siobhan.> <6.2.5.6.2.20110926204557.05af1bb8@flumedata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Received-SPF: pass (mx.binnacle.cx: 172.29.87.10 is whitelisted by SPF-milter whitelist entry) X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 9607 Cc: Glenn Morris , 9607@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.8 (-----) Well in any case I've got it right. Just bisected the bug and it first appears in 23.2. 23.1 is ok. Left the old name in place during bisection and let emacs apply the alias. Definitely broken starting in 23.2. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 26 23:11:25 2011 Received: (at 9607) by debbugs.gnu.org; 27 Sep 2011 03:11:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8O4r-0000jX-Er for submit@debbugs.gnu.org; Mon, 26 Sep 2011 23:11:25 -0400 Received: from mx.binnacle.cx ([74.95.187.105]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8O4p-0000jQ-CF for 9607@debbugs.gnu.org; Mon, 26 Sep 2011 23:11:24 -0400 Received: from CIANNAIT.flumedata.com (ciannait [172.29.87.10]) by mx.binnacle.cx (envelope-from ) (8.14.4/8.14.4) with ESMTP id p8R3AZIU003668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Sep 2011 23:10:36 -0400 Message-Id: <6.2.5.6.2.20110926230758.05af3bc0@flumedata.com> X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6 Date: Mon, 26 Sep 2011 23:10:34 -0400 To: 9607@debbugs.gnu.org, Stefan Monnier , Glenn Morris From: David Lawless Subject: Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23.2 but ok in 23.1 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Received-SPF: pass (mx.binnacle.cx: 172.29.87.10 is whitelisted by SPF-milter whitelist entry) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: 9607 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Also just reproduced the bug by running emacs in vanilla mode with 'emacs -q' to inhibit loading .emacs. Typed commands and mode settings manually. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 27 00:02:44 2011 Received: (at 9607) by debbugs.gnu.org; 27 Sep 2011 04:02:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8OsW-0001sl-4Z for submit@debbugs.gnu.org; Tue, 27 Sep 2011 00:02:44 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8OsS-0001sc-J2 for 9607@debbugs.gnu.org; Tue, 27 Sep 2011 00:02:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R8Orf-0004iz-1z; Tue, 27 Sep 2011 00:01:51 -0400 From: Glenn Morris To: 9607@debbugs.gnu.org Subject: Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 References: <201109262119.p8QLJ5eU004406@siobhan.> <6.2.5.6.2.20110926204557.05af1bb8@flumedata.com> <6.2.5.6.2.20110926224200.05af3bc0@flumedata.com> X-Spook: Albanian Forte Kennedy Adriatic Juiliett Class Submarine X-Ran: l2cI|HUypU#d>J (David Lawless's message of "Mon, 26 Sep 2011 22:43:50 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9607 Cc: Stefan Monnier , David Lawless X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Present in 23.2 to 24.0.90 inclusive. Recipe: emacs -Q --eval '(setq auto-hscroll-mode nil)' Evaluate: (dotimes (j 5) (insert "\n") (dotimes (i 10) (insert "0123456890 "))) Put point at start of first line of digits. M-x scroll-left RET y ;; Window now scrolled to right-hand end of lines Down arrow ; first time is ok Down arrow -> second time window scrolls back to left-hand end of line (setq line-move-visual nil) avoids the problem. I guess it's related to the 2009-07 changes to line-move-visual for hscroll. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 27 02:08:12 2011 Received: (at 9607) by debbugs.gnu.org; 27 Sep 2011 06:08:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Qpw-0004mA-Co for submit@debbugs.gnu.org; Tue, 27 Sep 2011 02:08:12 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Qpt-0004m3-VK for 9607@debbugs.gnu.org; Tue, 27 Sep 2011 02:08:10 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R8Qp6-0006b6-6J; Tue, 27 Sep 2011 02:07:20 -0400 Date: Tue, 27 Sep 2011 02:07:20 -0400 Message-Id: From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Tue, 27 Sep 2011 00:01:50 -0400) Subject: Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 References: <201109262119.p8QLJ5eU004406@siobhan.> <6.2.5.6.2.20110926204557.05af1bb8@flumedata.com> <6.2.5.6.2.20110926224200.05af3bc0@flumedata.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9607 Cc: 9607@debbugs.gnu.org, david_lawless@flumedata.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Glenn Morris > Date: Tue, 27 Sep 2011 00:01:50 -0400 > Cc: David Lawless > > emacs -Q --eval '(setq auto-hscroll-mode nil)' > > Evaluate: > (dotimes (j 5) > (insert "\n") > (dotimes (i 10) > (insert "0123456890 "))) > > Put point at start of first line of digits. > M-x scroll-left RET y > ;; Window now scrolled to right-hand end of lines > Down arrow ; first time is ok > Down arrow > -> second time window scrolls back to left-hand end of line > > > (setq line-move-visual nil) > > avoids the problem. > > I guess it's related to the 2009-07 changes to line-move-visual for hscroll. 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? From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 29 09:07:57 2011 Received: (at 9607-done) by debbugs.gnu.org; 29 Sep 2011 13:07:57 +0000 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 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 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) 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) Date: Thu, 29 Sep 2011 16:06:13 +0300 From: Eli Zaretskii Subject: Re: bug#9607: incorrect behavior with "auto-hscroll-mode nil" in ncurses/vt220 text operation; wrong in 23 but ok in 22.1 In-reply-to: X-012-Sender: halo1@inter.net.il To: rgm@gnu.org, 9607-done@debbugs.gnu.org, david_lawless@flumedata.com 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> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9607-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > 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. From unknown Wed Jun 18 23:13:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 28 Oct 2011 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator