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#63201: `scroll-margin' sometimes doesn't work Date: Fri, 05 May 2023 08:48:31 +0300 Message-ID: <83fs8bjplc.fsf@gnu.org> References: <83y1m8nsl4.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39892"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63201-done@debbugs.gnu.org To: one.last.kiss@outlook.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 05 07:48:19 2023 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 1puoIl-000ACK-HI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 May 2023 07:48:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puoIW-0006Z0-TX; Fri, 05 May 2023 01:48:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puoIU-0006YU-Gs for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 01:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puoIU-0006cB-7o for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 01:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puoIU-0003np-41 for bug-gnu-emacs@gnu.org; Fri, 05 May 2023 01:48:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 May 2023 05:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63201 X-GNU-PR-Package: emacs Mail-Followup-To: 63201@debbugs.gnu.org, eliz@gnu.org, one.last.kiss@outlook.com Original-Received: via spool by 63201-done@debbugs.gnu.org id=D63201.168326566714515 (code D ref 63201); Fri, 05 May 2023 05:48:01 +0000 Original-Received: (at 63201-done) by debbugs.gnu.org; 5 May 2023 05:47:47 +0000 Original-Received: from localhost ([127.0.0.1]:52909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puoIF-0003m0-3o for submit@debbugs.gnu.org; Fri, 05 May 2023 01:47:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puoIC-0003l3-CU for 63201-done@debbugs.gnu.org; Fri, 05 May 2023 01:47:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puoI6-0005dv-TB; Fri, 05 May 2023 01:47:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZqiaHcwoIOOMA7yTayt7jswqHX00PS53IlxNO/hSyho=; b=dAQhQiOgTvxV L3YWOKaKTbfivBTyuxlL07vQ4xHB3kDq/Yt3RQ91CkG11pKmNdfIEXQs4cRv4dlTtu48HeHTSdNAR fKFgHkjRH+tvGbybRtNF+k+EunqXJ6Qs1CbX6h/TPn7YfBh+6Vk/w3tEKcgWeUMAu7RzoSMMFv3Xa nLCbva0MKXzOsfTgDQNDP1tSbv9QXUT13tjM8v1mF09zZ/yW5QH2RvOPnL0DTcPpG7uT5lq7Tj3gw m/AP3t8DD4TpuSNNHmuTTnFZDAHyi3UR4MXIsolLGRXUXqVgptBEQ+lb+0P8JLLckkCGfSC3OnqMS IfXwM09gInBaA8K23wJLTg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puoI6-0003rv-B4; Fri, 05 May 2023 01:47:38 -0400 In-Reply-To: <83y1m8nsl4.fsf@gnu.org> (message from Eli Zaretskii on Mon, 01 May 2023 15:28:55 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261056 Archived-At: > Cc: 63201@debbugs.gnu.org > Date: Mon, 01 May 2023 15:28:55 +0300 > From: Eli Zaretskii > > > From: Shynur Xie > > Date: Mon, 1 May 2023 10:45:11 +0000 > > msip_labels: > > > > `scroll-margin' sometimes doesn't work > > > > 1. emacs -Q > > 2. In buffer *scratch*, C-x C-e: > > (progn > > (custom-set-variables > > '(custom-enabled-themes '(modus-vivendi)) > > '(global-tab-line-mode t) > > '(scroll-margin 1) > > '(scroll-conservatively 101)) > > (info-emacs-manual) > > (end-of-buffer) > > (goto-line 500)) > > 3. With the cursor now at the 2nd line from the top of the window, > > press -arrow-key several times and pay attention to resulting > > cursor position -- `scroll-margin' is 1 but Emacs still sometimes > > allows the cursor to stay at the 1st line of the window. > > Thanks, should be fixed now on the emacs-29 branch. No further comments, so I assume the bug is indeed fixed, and I'm closing it.