From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26994: 26.0.50; display bugs with auto-hscolling current line Date: Sat, 20 May 2017 10:37:32 +0300 Message-ID: <83vaow0yir.fsf@gnu.org> References: <8760gxqjbr.fsf@rosalinde> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1495265954 14608 195.159.176.226 (20 May 2017 07:39:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 May 2017 07:39:14 +0000 (UTC) Cc: 26994@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 20 09:39:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dByyk-0003eB-LU for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 May 2017 09:39:10 +0200 Original-Received: from localhost ([::1]:33254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dByym-0004vx-VO for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 May 2017 03:39:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dByyh-0004vr-Dq for bug-gnu-emacs@gnu.org; Sat, 20 May 2017 03:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dByye-0005ci-B8 for bug-gnu-emacs@gnu.org; Sat, 20 May 2017 03:39:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53198) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dByye-0005cb-8E for bug-gnu-emacs@gnu.org; Sat, 20 May 2017 03:39:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dByyc-0000Hd-GX for bug-gnu-emacs@gnu.org; Sat, 20 May 2017 03:39:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 May 2017 07:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26994-submit@debbugs.gnu.org id=B26994.14952658821017 (code B ref 26994); Sat, 20 May 2017 07:39:02 +0000 Original-Received: (at 26994) by debbugs.gnu.org; 20 May 2017 07:38:02 +0000 Original-Received: from localhost ([127.0.0.1]:55875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dByxe-0000GJ-JY for submit@debbugs.gnu.org; Sat, 20 May 2017 03:38:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dByxc-0000Fo-UC for 26994@debbugs.gnu.org; Sat, 20 May 2017 03:38:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dByxU-00053k-AA for 26994@debbugs.gnu.org; Sat, 20 May 2017 03:37:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dByxU-00053g-6U; Sat, 20 May 2017 03:37:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1244 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dByxS-00021N-LU; Sat, 20 May 2017 03:37:51 -0400 In-reply-to: <8760gxqjbr.fsf@rosalinde> (message from Stephen Berman on Fri, 19 May 2017 11:36:40 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:132664 Archived-At: > From: Stephen Berman > Date: Fri, 19 May 2017 11:36:40 +0200 > > 0. emacs -Q > 1. Make a long (> 160 columns) line of text, e.g. in *scratch* join the > two lines and duplicate them: C-p C-p M-^ C-a C-k C-y C-y > 2. Copy this long line and yank it below (optional, just to see the > effect of auto-hscrolling clearly): C-a C-k C-y RET C-y > 3. M-x toggle-truncate-lines > 4. M-x customize-option RET auto-hscroll-mode, set value to "Scroll only > the current line" and set it for the current session. > 5. Return to *scratch* and put point at the start: M-<. Enable > column-number-mode to track the column of point: > 6. Start moving point forward, e.g by repeating M-f. On moving over > the first occurrence of "create", this line (but not the one below > it) is scrolled, correctly. Continue repeating M-f. > => When point reached column 160 (for me that's the space after the > second occurrence of ";; This buffer is"), the cursor is visible, but > the next M-f makes it disappear and the line no longer scrolling; > however, you can see from the column number in the mode line that > point keeps advancing. > > When scrolling stops depends, AFAICT, on (one or both of) the > window-width and the font size. > > A second, likely related, display bug happens in combination with > text-scale-adjust: > > 7. Return to BOB (M-<). Invoke increased text-scale-adjust (C-x C-+) > and start moving forward by repeating M-f. > => At some point (for me at column 130), while advancing point > columnwise (C-f) the line also moves pixelwise to the left and then > (after 3-4 pixels) jumps back. Continuing with C-f repeats this > effect. > With decreased text-scale-adjust (C-x C--, making sure the size is > below the default, not just returned to it), the mirror-image effect > happens (for me, starting at column 176 with the smaller size): the > line moves pixelwise to the right and after several pixels jumps back > to the left, and so on. > When the default size is restored, the pixelwise movement stops (but > the above hscrolling problem remains). Thanks, should be fixed now.