From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#27008: 26.0.50; auto-hscroll-mode and scroll-left Date: Sun, 21 May 2017 16:10:04 +0200 Message-ID: <87shjynvwj.fsf@rosalinde> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1495375877 22956 195.159.176.226 (21 May 2017 14:11:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 May 2017 14:11:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 27008@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 21 16:11:12 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 1dCRZf-0005k0-BF for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 May 2017 16:11:11 +0200 Original-Received: from localhost ([::1]:38157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCRZg-0005X2-4R for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 May 2017 10:11:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCRZZ-0005Ww-Q7 for bug-gnu-emacs@gnu.org; Sun, 21 May 2017 10:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCRZW-0001wN-Fj for bug-gnu-emacs@gnu.org; Sun, 21 May 2017 10:11:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56788) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCRZW-0001wI-AL for bug-gnu-emacs@gnu.org; Sun, 21 May 2017 10:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dCRZW-0000xe-5a for bug-gnu-emacs@gnu.org; Sun, 21 May 2017 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 May 2017 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27008 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14953758223641 (code B ref -1); Sun, 21 May 2017 14:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 May 2017 14:10:22 +0000 Original-Received: from localhost ([127.0.0.1]:59465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCRYs-0000wf-3v for submit@debbugs.gnu.org; Sun, 21 May 2017 10:10:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCRYq-0000wO-Lk for submit@debbugs.gnu.org; Sun, 21 May 2017 10:10:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCRYk-0001nG-LR for submit@debbugs.gnu.org; Sun, 21 May 2017 10:10:15 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCRYk-0001nC-4E for submit@debbugs.gnu.org; Sun, 21 May 2017 10:10:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCRYi-0005SP-TJ for bug-gnu-emacs@gnu.org; Sun, 21 May 2017 10:10:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCRYf-0001lp-NZ for bug-gnu-emacs@gnu.org; Sun, 21 May 2017 10:10:12 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57047) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCRYf-0001iD-CO for bug-gnu-emacs@gnu.org; Sun, 21 May 2017 10:10:09 -0400 Original-Received: from rosalinde ([83.135.14.203]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MOCSm-1dHvCL0NBE-005VNx for ; Sun, 21 May 2017 16:10:05 +0200 X-Provags-ID: V03:K0:+J//r0MeNLqiWCV8LXqwlJ2fKwd0/1NYmosAKhcFrjzNBCd0rfk u4CRYxrrt1RfTkTe0yxq8L6IhPcyLKEr2ctxKeoygMDmAGI1DbkfoRm+C4DPcvnmCkMHAba HY3waY1v2MfuulZ+/r68MyovspJZBXvgphFORbpP6KKk4sx/7xIYJ3+P7X4vqOli0QgWatc WgvGzV6zY/wO7rFFV4Pwg== X-UI-Out-Filterresults: notjunk:1;V01:K0:F9RWDwGTpe4=:rkaGACMDiOfQYlG+/kljyw qLxj9jRdEi+t517uOAYS8PrxLPBHwwAh74M2f68vAVSHy4FC90jbeNq05xEF4yhv8eensUxgH Cjvf1cLXQXgVXp8+1u3b/S6b31gcS2LMxEhXXwhXi3PtpG7+KqyOSn75HkDchpC8S5pRggzMM Q94m11rLzKfA+V/rWWYceb5M0/9zbCdlJykenXxsKCHJRzChNzxnIim03no2FacNBFwKWzoE0 wzHATr8CnLjcG4EeQpIWiQXMbpx3oKh2wPXXCEuoEx2YRys0AJp2NMzLybuDb1YX4APqjnQ42 J0fVDGOM30/NAYM8ufr1P+vDl0zxRyJPXZrfZsf9ShO72JAHbGMD/LCy+HJMfG7tgsWjwYNN5 9CZibCQeCggxgM+UKnfQvJDSG9UkyUgqhHg7nWaUBP2LvSPczKwzL8RuAiqEPTw2pXBhR2YWL fVTopDg1Aau1fiMr+SwJWZRrp57+qqHpDJGdDsfMjh3ID8prPw6r3YeZO5vMXq1AH1D+5sEjn BJLXQxd0MQKCynd7PVRLKcnnUrjyQukpHhxwoHIoE1qfUvPBqyBrAOQyVXu1dEm5ysWOf9Lli E6lCw/PgKvOOJax3qNuen5h8NIh9Tq/DVTFNHRExG90QvQeYbshxIsm8hpeXTKUKtNKPAZxqU h/EGP7JqLiA1udX2li/WM3OySlIIp2SEZ8psQpbxA0g4MzVmSvzid9/R6FxbClTrZdSGzQ3gc 8waoiz14CeXpeSAUHvKibKT2vJItWIeZPIwQaxhgfnpbrTyYmFiRg+8xUlw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:132696 Archived-At: --=-=-= Content-Type: text/plain When auto-hscroll-mode is set to `current-line' and scroll-left is invoked with arguments ARG > 0 and SET-MINIMUM non-nil, then when the current line is automatically horizontally scrolled, all other lines in the buffer are scrolled back to logical BOL, i.e. SET-MINIMUM is ignored (except on the current line). To reproduce: 0. emacs -Q 1. Set auto-hscroll-mode to `current-line'. 2. Type `C-x C-f /path/to/hscroll-bug RET' (the attached file). 3. Type `M-x toggle-truncate-lines' and `M-: (scroll-left 32 t)'. 4. Type `C-p' repeatedly. => When point is on the third line, and for all subsequent vertical motion, all lines but the current one are displayed starting at BOL instead of column SET-MINIMUM. (I found this bug because I sometimes use scroll-left with non-nil SET-MINIMUM in the Gnus *Summary* buffer to see more of the article Subject lines; the attached file hscroll-bug, used in the above recipe, is taken from such a buffer.) In GNU Emacs 26.0.50 (build 14, x86_64-pc-linux-gnu, GTK+ Version 3.22.8) of 2017-05-21 built on rosalinde Repository revision: 08212929ba7052883bd506be320dfaaae5b68970 Windowing system distributor 'The X.Org Foundation', version 11.0.11901000 Configured using: 'configure 'CFLAGS=-Og -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=hscroll-bug Content-Transfer-Encoding: base64 ICAgKCAgNTYpIEVsaSBaYXJldHNraWkgICAgICAgIOKUgiBtYXN0ZXIgYzE4OTk4NjogQWRkIGFu IG9wdGlvbmFsIGFyZ3VtZW50cyB0byBzdHJpbmctdHJpbQogICAoICA3NCkgRWxpIFphcmV0c2tp aSAgICAgICAg4pSCIG1hc3RlciBkMzVkYTIxOiBJbXByb3ZlIGRvY3VtZW50YXRpb24gb2YgJ3Nw bGl0LXN0cmluZycKICAgKCAgMTIpIE1pY2hhZWwgQWxiaW51cyAgICAgIOKUgiDilrYgbWFzdGVy IHVwZGF0ZWQgKGQzNWRhMjEgLT4gMWIwZWM5ZikKICAgKCAgMzApIE1pY2hhZWwgQWxiaW51cyAg ICAgIOKUgiBtYXN0ZXIgNmRlNzdjZiAxLzI6IEZpeCBhIHByb2JsZW0gd2l0aCBPcGVuU1NIIDcg aW4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