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 05:28:19 +0300 Message-ID: <83ft94bgzg.fsf@gnu.org> References: <87r1sqtzsy.fsf@nivekuil.com> <83lfiyco47.fsf@gnu.org> <87o8nutgpu.fsf@nivekuil.com> <83wo2hawq8.fsf@gnu.org> <878sewlrxt.fsf@nivekuil.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33646"; 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 04:29: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 1k2QDs-0008ek-81 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Aug 2020 04:29:08 +0200 Original-Received: from localhost ([::1]:57616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2QDr-0000SS-AQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 22:29:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2QDm-0000SG-0z for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 22:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2QDl-0005lE-OV for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 22:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2QDl-0002hz-Kx for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 22:29: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 02:29: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.159642172010383 (code B ref 42653); Mon, 03 Aug 2020 02:29:01 +0000 Original-Received: (at 42653) by debbugs.gnu.org; 3 Aug 2020 02:28:40 +0000 Original-Received: from localhost ([127.0.0.1]:43760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2QDQ-0002hP-Cj for submit@debbugs.gnu.org; Sun, 02 Aug 2020 22:28:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2QDO-0002hD-Pi for 42653@debbugs.gnu.org; Sun, 02 Aug 2020 22:28:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60513) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2QDJ-0005kf-Ex; Sun, 02 Aug 2020 22:28:33 -0400 Original-Received: from [176.228.60.248] (port=2712 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2QDI-0001kw-G9; Sun, 02 Aug 2020 22:28:33 -0400 In-Reply-To: <878sewlrxt.fsf@nivekuil.com> (message from Kevin Liu on Sun, 02 Aug 2020 13:24:34 -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:183904 Archived-At: > From: Kevin Liu > Cc: 42653@debbugs.gnu.org > Date: Sun, 02 Aug 2020 13:24:34 -0700 > > 1. If (hl-line-mode 1), then scrolling down as you reach EOB will > continue "collapsing" the margin, moving the cursor but not scrolling > beyond EOB, until it hits the actual EOB line. At that point, > scroll-margin will again take effect and the screen will suddenly scroll > down by scroll-margin lines (7 in my case). This seems like a bug, > off-by-one maybe? > > 2. The intended behavior of disabling the bottom margin as EOB > approaches seems to only apply when (hl-line-mode 1) or > (display-line-numbers-mode 1). This means that enabling these modes > still affects scrolling behavior, which I think is fundamentally > unexpected. Please show a test case for each of these two, as I don't think I've seen them in my testing.