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: Tue, 30 May 2017 21:45:47 +0200 Message-ID: <878tle9lhw.fsf@rosalinde> References: <87shjynvwj.fsf@rosalinde> <83zie6nsip.fsf@gnu.org> <87inkunf4k.fsf@rosalinde> <83efv6e6m0.fsf@gnu.org> <87d1aq9tb6.fsf@rosalinde> <83bmqae00s.fsf@gnu.org> <83a85udzet.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496173575 19980 195.159.176.226 (30 May 2017 19:46:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 19:46:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27008@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 30 21:46:09 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 1dFn5k-0004rn-Mp for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 21:46:08 +0200 Original-Received: from localhost ([::1]:55980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFn5m-0001bd-Tj for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 15:46:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFn5g-0001bS-Pt for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 15:46:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFn5f-0007zc-6n for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 15:46:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFn5e-0007zW-Uk for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 15:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFn5e-0003hy-I3 for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 15:46: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: Tue, 30 May 2017 19:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27008 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27008-submit@debbugs.gnu.org id=B27008.149617355714236 (code B ref 27008); Tue, 30 May 2017 19:46:02 +0000 Original-Received: (at 27008) by debbugs.gnu.org; 30 May 2017 19:45:57 +0000 Original-Received: from localhost ([127.0.0.1]:45700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFn5Z-0003hY-8A for submit@debbugs.gnu.org; Tue, 30 May 2017 15:45:57 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:62568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFn5X-0003hL-OH for 27008@debbugs.gnu.org; Tue, 30 May 2017 15:45:56 -0400 Original-Received: from rosalinde ([83.135.25.138]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MXqV1-1dS9Gd0tN9-00Wqjf; Tue, 30 May 2017 21:45:48 +0200 In-Reply-To: <83a85udzet.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 30 May 2017 20:31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ALA3IOiVuk4nKrGMoQZnVdRf9Y2A5prqoL79YAulF 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:133060 Archived-At: On Tue, 30 May 2017 20:31:38 +0300 Eli Zaretskii wrote: >> Date: Tue, 30 May 2017 20:18:27 +0300 >> From: Eli Zaretskii >> Cc: 27008@debbugs.gnu.org >> >> > From: Stephen Berman >> > Cc: 27008@debbugs.gnu.org >> > Date: Tue, 30 May 2017 18:57:01 +0200 >> > >> > Thanks very much for pursuing this. I updated my master branch, applied >> > your patch and rebuilt, but when I executed the recipe of my OP, I saw >> > the same effect with the patch as without it: only the current line >> > respects w->min_hscroll, the other are displayed from BOL. I'd be happy >> > to try and help diagnose this further, if you can advise me what to do. >> >> I don't have any advice, because your recipe worked for me after the >> changes. I'm confused now. > > Ah, I see: I sent the wrong patch. Here's the right one: Thanks. Yes, with this patch the non-current lines are displayed from w->min_hscroll. However, there's a new problem: now when points moves to a line, that line automatically scrolls further by w->min_hscroll. So when I do `(scroll-left 32 t)' and then move point to another line, that line scrolls further left so that its column 64 is on the left edge of the window (the other lines remain displayed starting at column 32). When point moves to the next line, that one scrolls further to column 64 and the previous one goes back to being displayed from column 32. Steve Berman