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: Mon, 01 May 2023 15:28:55 +0300 Message-ID: <83y1m8nsl4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8925"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63201@debbugs.gnu.org To: Shynur Xie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 01 14:29:18 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 1ptSeb-00029u-2N for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 May 2023 14:29:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptSeO-000186-Iw; Mon, 01 May 2023 08:29: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 1ptSeM-00017a-P5 for bug-gnu-emacs@gnu.org; Mon, 01 May 2023 08:29: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 1ptSeM-0001Rv-GJ for bug-gnu-emacs@gnu.org; Mon, 01 May 2023 08:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptSeM-00057x-AT for bug-gnu-emacs@gnu.org; Mon, 01 May 2023 08:29:02 -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, 01 May 2023 12:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63201 X-GNU-PR-Package: emacs Original-Received: via spool by 63201-submit@debbugs.gnu.org id=B63201.168294410219639 (code B ref 63201); Mon, 01 May 2023 12:29:02 +0000 Original-Received: (at 63201) by debbugs.gnu.org; 1 May 2023 12:28:22 +0000 Original-Received: from localhost ([127.0.0.1]:39103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptSdh-00056f-OX for submit@debbugs.gnu.org; Mon, 01 May 2023 08:28:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptSdf-00056N-2Q for 63201@debbugs.gnu.org; Mon, 01 May 2023 08:28:20 -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 1ptSdZ-0001G8-LA; Mon, 01 May 2023 08:28:13 -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=6KWti239ZzJcgHV32ne1NyRv+waZK7HY6+dIStdNkXw=; b=WbEO1YoWYvvy wR5JlCNKoOsz02FKKQqu2VLMyHRzjeJSzNw6LHYtij2NljhJQWdJMSv/mVxczsx2bx1FrftY72aIj 4f243abh7DYQ9pZ17al2z+EOHivDNjIjeUkw1iEI9GYnXMx2K6/F4oZmnQ8SNS1MOWjnzkpHGNMuk xhUElq2oJ5P2ZThhTs13ahxup0VlJWEzEtEZYXgomFem7n682IQ11KB61nNqMw/8TsAAvPL8WinTk VEMxpmMnvE8c36cgReafB1/tR51db8Txk6e/XLY29uf8ZeWRMxuTtZQfKBSMumh+nV6U7iYTe4Es0 pIuT9KjRtxszutZFq5GBJQ==; 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 1ptSdZ-0004wF-0B; Mon, 01 May 2023 08:28:13 -0400 In-Reply-To: (message from Shynur Xie on Mon, 1 May 2023 10:45:11 +0000) 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:260861 Archived-At: > 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.