From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#42653: 28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode Date: Mon, 03 Aug 2020 17:57:41 +0300 Message-ID: <833653bwuy.fsf@gnu.org> References: <87r1sqtzsy.fsf@nivekuil.com> <83lfiyco47.fsf@gnu.org> <87o8nutgpu.fsf@nivekuil.com> <83wo2hawq8.fsf@gnu.org> <878sewlrxt.fsf@nivekuil.com> <83ft94bgzg.fsf@gnu.org> <87d0485seb.fsf@nivekuil.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33183"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42653@debbugs.gnu.org To: Kevin Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 03 16:59:08 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2bvg-0008Vm-9a for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 16:59:08 +0200 Original-Received: from localhost ([::1]:51078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2bvf-0005gT-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 10:59:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2bva-0005gI-1e for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2020 10:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2bvZ-0008IV-Oh for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2020 10:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2bvZ-0001ht-Mv for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2020 10:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Aug 2020 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42653 X-GNU-PR-Package: emacs Original-Received: via spool by 42653-submit@debbugs.gnu.org id=B42653.15964666826493 (code B ref 42653); Mon, 03 Aug 2020 14:59:01 +0000 Original-Received: (at 42653) by debbugs.gnu.org; 3 Aug 2020 14:58:02 +0000 Original-Received: from localhost ([127.0.0.1]:45843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2buc-0001gf-0V for submit@debbugs.gnu.org; Mon, 03 Aug 2020 10:58:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2bua-0001gB-A9 for 42653@debbugs.gnu.org; Mon, 03 Aug 2020 10:58:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43318) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2buU-0008E5-QD; Mon, 03 Aug 2020 10:57:54 -0400 Original-Received: from [176.228.60.248] (port=4640 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2buT-0001yq-Mq; Mon, 03 Aug 2020 10:57:54 -0400 In-Reply-To: <87d0485seb.fsf@nivekuil.com> (message from Kevin Liu on Sun, 02 Aug 2020 20:18:20 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183944 Archived-At: > From: Kevin Liu > Cc: 42653@debbugs.gnu.org > Date: Sun, 02 Aug 2020 20:18:20 -0700 > > On 2 August 2020 19:28, Eli Zaretskii wrote: > > > Please show a test case for each of these two, as I don't think I've > > seen them in my testing. > > My original test case should demonstrate this as well, as the buffer > should be scrolled beyond EOB. Then (previous-line) up until EOB is > back out of view, then scroll back down and the problem should be > visible. I also recorded a video for illustration in case this is one > of those only-on-my-machine cases (which it might be, as I built off a > merged native-comp branch): https://www.youtube.com/watch?v=EKrbrVGbEZw > > (progn > (global-hl-line-mode) > (setq scroll-margin 5) > (setq scroll-conservatively 101) > (view-hello-file) > (end-of-buffer)) Very well, I've now removed the EOB test.