From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: clemera Newsgroups: gmane.emacs.bugs Subject: bug#35659: 26.1; Weird horizontal scroll behavior with certain settings for `auto-hscroll-mode' and `hscroll-step`. Date: Thu, 9 May 2019 21:15:26 +0200 Message-ID: <623e30c5-1bef-46c7-06fb-4d087e1a4153@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="265495"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 To: 35659@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 09 22:00:48 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hOpDj-0016us-18 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 May 2019 22:00:47 +0200 Original-Received: from localhost ([127.0.0.1]:60234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOpDi-0006dW-0w for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 May 2019 16:00:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOpC5-0005VN-W5 for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 15:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOpC3-0006cy-VR for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 15:59:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOpC2-0006bz-Fs for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 15:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOpC2-00066E-5j for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 15:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: clemera Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2019 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35659 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155743190823401 (code B ref -1); Thu, 09 May 2019 19:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2019 19:58:28 +0000 Original-Received: from localhost ([127.0.0.1]:36512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOpBT-00065I-8W for submit@debbugs.gnu.org; Thu, 09 May 2019 15:58:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOoW6-00052y-DX for submit@debbugs.gnu.org; Thu, 09 May 2019 15:15:43 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hOoW1-0005Sd-8W for submit@debbugs.gnu.org; Thu, 09 May 2019 15:15:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOoVz-0002N4-Qv for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 15:15:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOoVy-0005RZ-GL for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 15:15:35 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:47143) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hOoVx-0005Qv-Qi for bug-gnu-emacs@gnu.org; Thu, 09 May 2019 15:15:34 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 760E32400FD for ; Thu, 9 May 2019 21:15:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1557429331; bh=mawKNHxWjd0KHo9+/IwOehzFXW+W4e0SQDH7bslEQSs=; h=To:From:Subject:Date:From; b=eETLpKVWQonuB6ZE7pdQsfx9mCLvkaj+y+vGCW2I0jN7lDj+0WTRw7VwvqSq/C7vB rc65w9xzkV6zz/pRWYXI6WZr8Sfvgl2v1s6YCqfryg7tmbQaSZII90vd6UBEPPwtgY /vPHsON5JHG8Xk4TJwtaJN6X6XOqjfc6g02o9iyZBYgWv68mJNMwtb3KB+zOZ3lrSz C766+BOouCwP8xeyd5Rf9bDqD9ZDv+boGpHOedROt7XoqkYsI3PFcf1Lkt3nFjGMnf wLuj7JberafJVFjhbjKWvFxHCu8TgDdLlg6l0gsFDfLRxwHwxFJkv0xK3XiHtG60H7 yaN2sQ7zYeVdg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 450NMz3y0sz9rxY for ; Thu, 9 May 2019 21:15:27 +0200 (CEST) X-Mozilla-News-Host: news://news.gwene.org:119 Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 09 May 2019 15:58:24 -0400 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: 209.51.188.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:159002 Archived-At: Hello, After starting emacs -Q I set the following settings by evaluating them in *scratch*: (setq auto-hscroll-mode 'current-line hscroll-step 1 truncate-lines t) Now after adding a long line right after the above code block (which exceeds the frame width) go to the end of the long line. The line scrolls as expected but when you go from there to the lines above, those get pushed to the left. I have recorded a gif which shows the described behavior: https://imgur.com/a/lJYo4Od In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-01-03 built on clemera Repository revision: ab525dd6b1c57cee7f26700f9656bb6c76a8ceba Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 18.04.2 LTS Recent messages: Making completion list... nil t Mark set [17 times] funcall-interactively: End of buffer [7 times] Quit user-error: Beginning of history; no preceding item Quit [3 times] nil t Quit Configured using: 'configure --with-xft --with-x-toolkit=gtk3 --with-modules' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LCMS2 Important settings: value of $LC_MONETARY: de_DE.UTF-8 value of $LC_NUMERIC: de_DE.UTF-8 value of $LC_TIME: de_DE.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 98229 13360) (symbols 48 20364 1) (miscs 40 78 244) (strings 32 28371 1265) (string-bytes 1 747151) (vectors 16 14656) (vector-slots 8 497062 7570) (floats 8 50 298) (intervals 56 551 9) (buffers 992 12))