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#62530: [PATCH] Fix the case that scroll-conservatively is overridden by scroll-step Date: Thu, 30 Mar 2023 09:45:53 +0300 Message-ID: <83pm8q68ke.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34409"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62530-done@debbugs.gnu.org To: Xie Shynur Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 30 08:46:43 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 1phm3X-0008lE-7u for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 08:46:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phm3N-0008DL-NJ; Thu, 30 Mar 2023 02:46:33 -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 1phm2s-00089b-D8 for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 02:46:06 -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 1phm2s-0007UA-5c for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 02:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phm2r-0005Te-UI for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 02:46:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Mar 2023 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62530 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 62530@debbugs.gnu.org, eliz@gnu.org, one.last.kiss@outlook.com Original-Received: via spool by 62530-done@debbugs.gnu.org id=D62530.168015875421032 (code D ref 62530); Thu, 30 Mar 2023 06:46:01 +0000 Original-Received: (at 62530-done) by debbugs.gnu.org; 30 Mar 2023 06:45:54 +0000 Original-Received: from localhost ([127.0.0.1]:55574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phm2k-0005TA-3y for submit@debbugs.gnu.org; Thu, 30 Mar 2023 02:45:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phm2f-0005Su-7y for 62530-done@debbugs.gnu.org; Thu, 30 Mar 2023 02:45:53 -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 1phm2Z-0007Nv-Qp; Thu, 30 Mar 2023 02:45:43 -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=lkq1LUcup6u0+GAIWs9CajPMinT1yjO/KrET0D6lulI=; b=eLuxf77vDYnn SAtTc73qKXz8bZIAUI2YVReSDxIWaKHtwFJNtNft4j+2AwWahAA6TwZrHaL/MmWGu38j8w9rL+8r4 fOfyjD8YF/mev/ygo0BEkKkc5UYSZ0fOWYQprRZTqvwD6J5JMZOrZQa6Xo5qcN4hy4r2vmPnqXnxL 7kvSB/ArmK7Y9+tu3cubp2NAXD1as5hvlfv7re9bqVtPT77wz2dJTU9IhHALQSmSFWN9+puVE+pkS v1Cgxdbi5aGPKf12uZlkkwywcGt61YuOFps4bUYyPGdq0sUMbs/8gj1IVvkh9fLQdQyYz+Fw93Xvb F1DHMs3xZDYTuLV9BI70UQ==; 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 1phm2Z-0003bJ-A8; Thu, 30 Mar 2023 02:45:43 -0400 In-Reply-To: (message from Xie Shynur on Wed, 29 Mar 2023 17:47:44 +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:258895 Archived-At: > From: Xie Shynur > Date: Wed, 29 Mar 2023 17:47:44 +0000 > msip_labels: > > GNU Emacs Manual, 14.3 Automatic Scrolling: > > > In case you customize multiple variables, the order of priority is: `scroll-conservatively`, then `scroll-step`, ... > > It works for `next-line`, BUT ignores `previous-line`. > > _____________________________________ > > Say evaluate the following Lisp code: > > ``` > (setq scroll-conservatively 101) > (setq scroll-step 5) > ``` > > Then, when calling `previous-line` which will lead to auto-scrolling, > it acts like that `scroll-conservatively` is not set, > i.e., Emacs will scroll 5 lines. > > This PATCH fixes the BUG. Thanks, installed on the emacs-29 branch, and closing the bug.